I am solving an equation to get the result in terms of symbol 'SI'. This is the given equation
but answer in terms of SI i am getting is not correct. I have used following code:
A=symsum( 2*m/( SI*SI*(NI-SI+1 )),m,1,SI/2 ) + symsum( 1/ ( SI*SI*(NI-SI+1 )),m,SI/2+1,SI )
which becomes
A = 1/(2*SI*(NI - SI + 1)) + (SI + 2)/(4*SI*(NI - SI + 1))
solving for SI with A=0 gives result as
ans = root(z^3 - (z^2*(2*NI + 2))/2 - z/2 - 1, z, 1) root(z^3 - (z^2*(2*NI + 2))/2 - z/2 - 1, z, 2) root(z^3 - (z^2*(2*NI + 2))/2 - z/2 - 1, z, 3)
when i use vpa(ans), i get 3 equations with long terms (without z) but still answers does not match the given result shown below in diagram (NI is substituted by SL/u in the document so in square root term is actually (2/3)*NI-11/36
Any help will be highly appreciated.
Best Answer