Solving non-linear trigonometric equations with two unknowns.
Show older comments
We have two solve two non-linear equations as follows:
B1=1/(Z1*tan(x))
B2=1/(Z1*tan(r*x))
Here, 'B1', 'B2', and 'r' are known quantities (e.g. B1 = 0.002, B2 = 0.004 and r = 1.8)
We need to find out the value of Z1 and x.
Thanks in advance.
Accepted Answer
More Answers (1)
Birdman
on 30 Mar 2018
syms Z1 x
B1 = 0.002;
B2 = 0.004;
r = 1.8;
eqns=[B1==1/(Z1*tan(x));
B2==1/(Z1*tan(r*x))];
sol=solve(eqns,[Z1,x])
Z1=double(sol.Z1)
x=double(sol.x)
6 Comments
Antra Saxena
on 30 Mar 2018
Antra Saxena
on 30 Mar 2018
Birdman
on 30 Mar 2018
Try to use vpasolve instead of solve.
Antra Saxena
on 30 Mar 2018
Antra Saxena
on 30 Mar 2018
Categories
Find more on Systems of Nonlinear Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

