Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: why mathlab can't solve this equation?
Replies: 1   Last Post: Oct 9, 2013 2:26 AM

 Messages: [ Previous | Next ]
 saman Posts: 2 Registered: 10/8/13
why mathlab can't solve this equation?
Posted: Oct 8, 2013 9:44 AM

hi guys
I try to solve this bus mathlab can't n I don't knew what's the problem.
fsolve(@myfun,.17)
n myfun is:
function out=myfun(b)
l=2.5;
x0=9.424777960769379e+02;
IL=1500;
out=l*x0*IL*(1+2*l^2*(2*(cos(b))^2*(l*tan(l*b)-tan(b))/(l^2-1)-b-.5*sin(2*b))/(pi*(l^2-1)))-3.6100e+006;
n mathlab returns:
Equation solved, fsolve stalled.

fsolve stopped because the relative size of the current step is less than the
default value of the step size tolerance squared and the vector of function values
is near zero as measured by the default value of the function tolerance.

<stopping criteria details>
can anybody help me?
I appreciate all of you.

Date Subject Author
10/8/13 saman
10/9/13 Torsten Hennig