如何用for循环编写最好是c,c#语言n=1 时y=sin(1)*x1n=2 y=sin(1/2)*x1+sin(2/2)*x2n=3 y=sin(1/3)*x1+sin(2/3)*x2+sin(3/3)*x3;n=4 y=sin(1/4)*x1+sin(2/4)*x2+sin(3/4)*x3+sin(4/4)*x4;...n=n y=sin(1/n)*x1+sin(2/n)*x2+.sin(n/n)*xn;x1-xn的值是分
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/25 17:52:36
如何用for循环编写最好是c,c#语言n=1 时y=sin(1)*x1n=2 y=sin(1/2)*x1+sin(2/2)*x2n=3 y=sin(1/3)*x1+sin(2/3)*x2+sin(3/3)*x3;n=4 y=sin(1/4)*x1+sin(2/4)*x2+sin(3/4)*x3+sin(4/4)*x4;...n=n y=sin(1/n)*x1+sin(2/n)*x2+.sin(n/n)*xn;x1-xn的值是分
如何用for循环编写最好是c,c#语言
n=1 时y=sin(1)*x1
n=2 y=sin(1/2)*x1+sin(2/2)*x2
n=3 y=sin(1/3)*x1+sin(2/3)*x2+sin(3/3)*x3;
n=4 y=sin(1/4)*x1+sin(2/4)*x2+sin(3/4)*x3+sin(4/4)*x4;
.
.
.
n=n y=sin(1/n)*x1+sin(2/n)*x2+.sin(n/n)*xn;
x1-xn的值是分别是1,2,3.N
求y值
如何用for循环编写最好是c,c#语言n=1 时y=sin(1)*x1n=2 y=sin(1/2)*x1+sin(2/2)*x2n=3 y=sin(1/3)*x1+sin(2/3)*x2+sin(3/3)*x3;n=4 y=sin(1/4)*x1+sin(2/4)*x2+sin(3/4)*x3+sin(4/4)*x4;...n=n y=sin(1/n)*x1+sin(2/n)*x2+.sin(n/n)*xn;x1-xn的值是分
double _result=0.0f;
int n=100;
int [] x=new int [100];//需要初始化
for(int _Num=1;_Num