Message Boards Message Boards

0
|
4098 Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Solve a system of two nonlinear equations?

Hi I am new to Mathematica. I am trying to solve a system of two nonlinear equations:

f1[z_, x_] := i0*z*(z^2 + (ha + x)^2)^(-1/2)
f2[z_, x_] := 2*i0*(x + ha)*(x^2 + (ha + x)^2)^(-3/2)
Solve[i == f1[z, x] && didx == f2[z, x], {z, x}]

Here z and x are the variables, all the rest are known constants. Mathematica gives an error message: Solve::nsmet: This system cannot be solved with the methods available to Solve. What is the right way to solve such equations? I've also included the original nb file

Attachments:
POSTED BY: Lev Dorosinskiy
2 Replies

Solve works for me.

Attachments:
POSTED BY: Mariusz Iwaniuk

It seems I've found the answer on the Web. For a numerical solution of non-polinomial equations one should use FindRoot instead of Solve or NSolve. I am having some other trouble with FindRoot too but, I think, I should post a different question for that

POSTED BY: Lev Dorosinskiy
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract