Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


Math Forum » Discussions » Software » comp.soft-sys.matlab

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

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
saman

Posts: 2
Registered: 10/8/13
why mathlab can't solve this equation?
Posted: Oct 8, 2013 9:44 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.