表示[img=134x43]17de85f031ab0c6.png[/img]的正确的C语句是(已定义double型变量x和y)?
A: y=3x^3-2x^2+1/x;
B: y = 3 x*x*x - 2 x*x + 1/x;
C: y = 3*x*x*x - 2*x*x + 1/x;
D: y = 3*x*x*x - 2*x*x + 1.0/x;
A: y=3x^3-2x^2+1/x;
B: y = 3 x*x*x - 2 x*x + 1/x;
C: y = 3*x*x*x - 2*x*x + 1/x;
D: y = 3*x*x*x - 2*x*x + 1.0/x;
举一反三
- 方程y'(x) = x^2 - 3x + 2 的平衡点是 A: x = 1, x = 2 B: x = 3, x = 2 C: x = 3, x = 1 D: x = 3, x = 0
- 分段函数:[img=206x91]18037123bea18f3.png[/img],下面程序段中正确的是__________。 A: If x < 0 Then y = 0If x < 1 Then y = 1If x < 2 Then y = 2If x >= 2 Then y = 3 B: If x > =2 Then y = 3ElseIf x > =1 Then y = 2ElseIf x > =0 Then y = 1Else y = 0End If C: If x >= 2 Then y = 3If x >= 1 Then y = 2If x > 0 Then y = 1If x < 0 Then y = 0 D: If x < 0 Then y = 0ElseIf x > 0 Then y = 1ElseIf x > 1 Then y = 2Else y = 3End If E: If x < 0 Then y = 0If 0 <= x <1 Then y = 1If 1 <= x < 2 Then y = 2If x >= 2 Then y = 3
- 【单选题】分段函数: ,下面程序段中正确的是__________。 A. If x < 0 Then y = 0 If x < 1 Then y = 1 If x < 2 Then y = 2 If x >= 2 Then y = 3 B. If x >= 2 Then y = 3 If x >= 1 Then y = 2 If x > 0 Then y = 1 If x < 0 Then y = 0 C. If x < 0 Then y = 0 ElseIf x > 0 Then y = 1 ElseIf x > 1 Then y = 2 Else y = 3 End If D. If x > =2 Then y = 3 ElseIf x > =1 Then y = 2 ElseIf x > =0 Then y = 1 Else y = 0 End If
- 下面程序段中正确的是( )。 A: If x<0 Then y=0 If x<1 Then y=1 If x<2 Then y=2 If x>=2 Then y=3 B: If x>=2 Then y=3 If x>1 Then y=2 If x>=0Then y=1 If x>0 Then y=0 C: If x<0 Then y=0 Else If>=0Then y=1 Else y=3 End If D: If x>=2 Then y=3 Else If>=1 Then y=2 Else y=0 End If
- 方程${{x}^{2}}{{y}^{''}}-(x+2)(x{{y}^{'}}-y)={{x}^{4}}$的通解是( ) A: $y={{C}_{1}}x+{{C}_{2}}{{e}^{x}}-(\frac{1}{2}{{x}^{3}}+{{x}^{2}})$ B: $y={{C}_{1}}x+{{C}_{2}}{{e}^{x}}-(\frac{1}{2}{{x}^{3}}+{{x}^{4}})$ C: $y={{C}_{1}}x+{{C}_{2}}x{{e}^{x}}-(\frac{1}{2}{{x}^{3}}+{{x}^{4}})$ D: $y={{C}_{1}}x+{{C}_{2}}x{{e}^{x}}-(\frac{1}{2}{{x}^{3}}+{{x}^{2}})$