Solving non-linear trigonometric equations with two unknowns.
Mostra commenti meno recenti
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.
Risposta accettata
Più risposte (1)
Birdman
il 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 Commenti
Antra Saxena
il 30 Mar 2018
Antra Saxena
il 30 Mar 2018
Birdman
il 30 Mar 2018
Try to use vpasolve instead of solve.
Antra Saxena
il 30 Mar 2018
Antra Saxena
il 30 Mar 2018
Categorie
Scopri di più su Choose a Solver in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


