Error in series summation
Show older comments
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 Comments
Matt J
on 26 Jan 2013
Elaborate on "nor for 4 and 5". What do you see and what do you think you should see?
Giorgos Papakonstantinou
on 26 Jan 2013
Answers (2)
Giorgos Papakonstantinou
on 26 Jan 2013
Giorgos Papakonstantinou
on 27 Jan 2013
0 votes
1 Comment
REEMA MOHANTY
on 14 Nov 2020
Even I am getting the same result .
Could anyone suggest something?
Categories
Find more on Numeric Solvers in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!