皮皮学,免费搜题
登录
搜题
【简答题】
以下是为求整系数方程“ax2 + bx + c = 0”的实数根的程序,补充程序使其完整。 #include #include ________ int main ( ) { int a, b, c; float d,x1, x2; scanf ( "%d%d%d", &a, &b, &c ); d = b * b - 4.0 * a * c; switch ( 1* ( d > 0 ) + 2 * ( d == 0 ) ) { case ___: printf( "x1 = x2 = %f\n", -b / ( 2 .0 * a ) ); ______; case ___: x1 = ( - b + sqrt (d ) ) / ( 2.0 * a ); x2 = ( - b – sqrt (d ) ) / ( 2.0 * a ); printf ( "x1 = %f, x2 = %f\n", x1, x2 ); ______; case _0__: printf (__”无实根”_____________); } return 0; }
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【单选题】2-1 As shown in the figure, an object with mass m tied by a thin thread, which is parallel to an inclined plane, si placed on a smooth inclined plane. If the inclined plane moves toward to left with a...
A.
g sin θ
B.
g cos θ
C.
gtan θ
D.
g cot θ
【单选题】线圈几何尺寸确定后,其互感电压的大小正比于相邻线圈中电流的
A.
大小
B.
变化量
C.
变化率
D.
方向
【单选题】An artificial Earth satellite in an elliptical orbit has its greatest centripetal acceleration when it is at what location?
A.
nearest the Earth
B.
farthest from the Earth
C.
between Earth and Moon
D.
between Earth and Sun
E.
none of the others
【单选题】( )的主要作用是溶解黄体 。
A.
PGF 2α
B.
G n RH
C.
PRL
D.
LTH
【单选题】Starting at time t = 0, an object moves along a straight line. Its coordinate in meters is given by x ( t ) = 75 t – 1.0 t 3 , where t is in seconds. When it momentarily stops its acceleration is:
A.
0
B.
–73 m/s 2
C.
–30 m/s 2
D.
–9.8 m/s 2
E.
9.2 ´ 10 3 m/s 2
【单选题】线圈几何尺寸确定后,其互感电压的大小正比于相邻线圈中电流的
A.
大小
B.
变化量
C.
变化率
D.
以上都不对
【单选题】下列哪项不是工件以平面定位时所用的定位元件。( )。
A.
支承钉
B.
支承板
C.
可调支承
D.
V型块
【单选题】线圈几何尺寸确定后,其互感电压的大小正比于相邻线圈中电流的
A.
大小
B.
变化量
C.
变化率
【单选题】下面哪个不是定位元件一般的材料。( )
A.
.20 钢渗碳淬火
B.
铸铁
C.
45
D.
20cr
【单选题】( )的主要作用是溶解黄体
A.
PGF 2 α
B.
G n RH
C.
PRL
D.
OXT
相关题目: