在关于下面程序段的说法中,正确的是()。 if x<0 Then y = Cos(x) y = Sin(x)
举一反三
- 在用设定工件坐标系加工不垂直角度孔系箱体时,要利用坐标系旋转公式进行计算,设点M在原坐标系中坐标为(x,y),在以坐标原点为中心旋转后的新坐标系中的坐标为(x′,y′),那么正确的坐标旋转公式是()。 A: X=x′cosα+y′SinαY=x′Sinα-y′cosα B: X=x′cosα-y′SinαY=x′Sinα+y′cosα C: X=x′cosα+y′SinαY=x′Sinα+y′cosα D: X=x′cosα+y′SinαY=x′Sinα+y′cos&alpha
- 【单选题】化简 sin( x + y )sin( x - y ) + cos( x + y )cos( x - y ) 的结果是 A. sin 2 x B. cos 2 y C. - cos 2 x D. -cos 2 y
- 函数\(y = \int_0^x {\sin tdt} \)的导数为( )。 A: \(y' = \sin x\) B: \(y' = \cos x\) C: \(y' = -\sin x\) D: \(y' = -\cos x\)
- 已知\( y = \cos x \),则\( y' \)为( ). A: \( \cos x \) B: \( \sin x \) C: \( - \cos x \) D: \( - \sin x \)
- 在一个图形窗口同时绘制[0,2π]的正弦曲线、余弦曲线,不可以使用命令( )。 A: x=(0:0.01:2*pi)'; Y=[sin(x),cos(x)]; plot(x,Y); B: x=(0:0.01:2*pi);Y=[sin(x);cos(x)];plot(x,Y); C: ezplot(@(x)sin(x),@(x)cos(x),[0,2*pi]) D: ezplot(@(x)sin(x),[0,2*pi]),hold on ,ezplot(@(x)cos(x),[0,2*pi])