Error in series summation
显示 更早的评论
I am trying to do a summation of a series as shown below:
syms x n S lf Wf jmpp Rb Wb
Iline=4*jmpp*S*lf/Wf;
I1=(n-1)*Iline*Wf+Iline*x;
I2=n*Iline*Wf;
dR=Rb/Wb;
P1=int(I1^2*dR,0,Wf);
P2=I2^2*dR*S;
Pt=P1+P2;
pb=symsum(Pt,n,1,4);
The summation works fine if I do it for:
pb=symsum(Pt,n,1,6);
or
pb=symsum(Pt,n,1,10);
but for some reason not for 4 and 5!! Do you know why is that?
2 个评论
Matt J
2013-1-26
Elaborate on "nor for 4 and 5". What do you see and what do you think you should see?
Giorgos Papakonstantinou
2013-1-26
回答(2 个)
Giorgos Papakonstantinou
2013-1-26
Giorgos Papakonstantinou
2013-1-27
0 个投票
1 个评论
REEMA MOHANTY
2020-11-14
Even I am getting the same result .
Could anyone suggest something?
类别
在 帮助中心 和 File Exchange 中查找有关 Numeric Solvers 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!