Error in series summation
조회 수: 10 (최근 30일)
이전 댓글 표시
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?
답변 (2개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!