求解Matlab 编程,谢了!
小弟遇到一个求和的问题,不知道怎么编程,请各位大哥大姐帮忙解决下,谢了!例:wk=(k+1/2)^2
nk=2.5*wk;
mk=(ch(nk)-cos(nk))/(sh(nk)-sin(nk))
rk=ch(nk)-cos(nk)-mk*(sh(nk)-sin(nk))
求:rk*rk/(wk^2-1)【其中K为1到50】
k=1:50;
wk=(k+1/2).^2;
nk=2.5.*wk;
mk=(cosh(nk)-cos(nk))./(sinh(nk)-sin(nk));
rk=cosh(nk)-cos(nk)-mk.*(sinh(nk)-sin(nk));
sum(rk.*rk./(wk.^2-1))
页:
[1]