皮皮学,免费搜题
登录
搜题
【简答题】
下面程序的功能是根据近似公式:π2/6(六分之π的平方)≈ 1/12(1的平方分之1)+1/22(2的平方分之1)+1/32(3的平方分之1)+ …… +1/n2(n的平方分之1),求π值。#include int main(){double s=0.0;long i;for(i=1;i<=n;i++)s=s+ 1.0/(float)(i*i);printf("%0.2f",___________);return 0;}
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【单选题】A company enters into a contract to build a factory for a customer. The agreed price is £2m and the specified completion date is 31 October 2016. However, the contract provides that the company should...
A.
£2.125m
B.
£1.975m
C.
£2.025m
D.
£2m
【单选题】There is a possibility that you may get the job; _________, there is no harm in trying
A.
all right
B.
at any rate
C.
in some measure
D.
on account of
【单选题】某PLC的输出接口是晶体管电路,则其输出可驱动()负载。
A.
交流
B.
直流
C.
交直流
D.
不确定
【单选题】下列程序执行后的输出结果是____________. void main() { char arr[2][4]; strcpy(arr,"you"); strcpy(arr[1],"me"); arr[0][3]='&'; printf("%s \n",arr); }
A.
you&me
B.
you
C.
me
D.
err
【单选题】某 PLC 的输出接口是晶体管电路,则其输出可驱动( )负载。
A.
交流
B.
直流
C.
交、直流
D.
不能确定
【简答题】Utopia: St.Nicholas Strait Iformation Service. This is Utopia. Are there any navigational warnings? St.Nicholas Strait Iformation Service: Utopia. This is St.Nicholas Strait Iformation Service. There ...
【单选题】A 52-year-old woman has had a chronic cough for the past 2 years, accompanied by a small amount of occasionally blood-streaked, whitish sputum On physical examination, her temperature is 37.9 C, pulse...
A.
Candida albicans
B.
Coxsackievirus B
C.
Group A streptococcus
D.
Mycobacterium tuberculosis
E.
Staphylococcus aureus
【简答题】There is a girl of 15, who has set up a company of her own. Her name is Wendy Wong. She 1 the business two years ago. She has already __2___ several successful computer s. They are so ___3___ that...
【单选题】There is a table _____ the two chairs.
A.
under
B.
in
C.
between
【简答题】下列程序执行后输出的结果是______. i=11 S=1 Do S=Si i=i-1 Loop While i>=9 输出S.
相关题目: