I am trying to solve a set of non linear equation but using the function nsolve but mathematica is not giving me proper answer. The code is given below.
h = 0.8;
\[Epsilon]r = 2.94;
ae = 5;
The Equations are given below.
Equation Number 1....
1/we = (120*\[Pi])/(ae (w/h + 1.393 + 0.667*Log[w/h + 1.44]));
Equation Number 2....
1/we = (4.38/
ae)*(E^((-0.627*\[Epsilon]r)/(((\[Epsilon]r + 1)/
2) + (\[Epsilon]r - 1)/2 + 1/Sqrt[(1 + (12*h)/w)])));
Nsolve for solving both equations for "we" and "w" simultaneously.
NSolve[{1/we == (120*\[Pi])/(
ae (w/h + 1.393 + 0.667*Log[w/h + 1.44])),
1/we == 4.38/
ae*(E^((-0.627*\[Epsilon]r)/(((\[Epsilon]r + 1)/
2) + (\[Epsilon]r - 1)/2 + 1/Sqrt[(1 + (12*h)/w)])))}, {we,
w}, Reals]
I am not getting any solution for the above equations using NSOLve.
NSolve
deals primarily with linear and polynomial equations. In your case you might have more luck using e.g.FindRoot
with an adequate estimate of the solution values. $\endgroup${{w, 100}, {we, 2}}
for the starting values should do it withFindRoot
as recommended by MarcoB. $\endgroup$Find Root
Method with the code given below .FindRoot[{1/we == (120*\[Pi])/( ae (w/h + 1.393 + 0.667*Log[w/h + 1.44])), 1/we == (4.38/ ae)*(E^((-0.627*\[Epsilon]r)/(((\[Epsilon]r + 1)/ 2) + (\[Epsilon]r - 1)/2 + 1/Sqrt[(1 + (12*h)/w)])))}, {{w, 100}, {we, 2}}]
But that gives me some dimension related error . $\endgroup$