The Math Forum

Search All of the Math Forum:

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

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

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

Topic: How can I solve transcendental equation
Replies: 1   Last Post: Nov 4, 2013 9:46 AM

Advanced Search

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

Posts: 1
Registered: 11/4/13
How can I solve transcendental equation
Posted: Nov 4, 2013 9:14 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


I am trying to solve transcendental equation which is given in code and want to find the value of beta but I am getting error and don't know how to correct it. Please someone correct it for me.



lambda = 1e-6;
ko = 2*pi/lambda;
s = 'sqrt(A-beta^2)*(d/2)*tan(sqrt(A-beta^2)*d/2)=sqrt(beta^2-B)*(d/2)';
solve (s);


Error using solve>processString (line 337)
' sqrt(A-beta^2)*(d/2)*tan(sqrt(A-beta^2)*d/2)=sqrt(beta^2-B)*(d/2) ' is not
a valid expression or equation.

Error in solve>getEqns (line 267)
eqns = processString(eqns, v, vc);

Error in solve (line 150)
[eqns,vars,options] = getEqns(varargin{:});

Error in transcendetal (line 9)
solve (s);

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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.