How to Nonlinear Equation?

조회 수: 11 (최근 30일)
Phan
Phan 2015년 7월 9일
댓글: Phan 2015년 7월 13일
Dear all,
I have two non-linear equation with variable h and x:
h^2*((4*x)/exp(x^2) - 1/2)+ (2*h*x)/(x^4 + 1)=0
2*h*(4/exp(x^2) - (8*x^2)/exp(h^2))=0
Does anyone know how to solve them?
Thank you so much!

채택된 답변

Torsten
Torsten 2015년 7월 10일
help fsolve
Best wishes
Torsten.
  댓글 수: 1
Phan
Phan 2015년 7월 12일
thank you so much!

댓글을 달려면 로그인하십시오.

추가 답변 (2개)

Azzi Abdelmalek
Azzi Abdelmalek 2015년 7월 9일
syms h x
eq1=h^2*((4*x)/exp(x^2) - 1/2)+ (2*h*x)/(x^4 + 1),
eq2=2*h*(4/exp(x^2) - (8*x^2)/exp(h^2))
sol=solve([eq1,eq2])
  댓글 수: 1
Phan
Phan 2015년 7월 9일
편집: Phan 2015년 7월 9일
The solve function sometimes does not work with very complex equations! Do you know any other way?

댓글을 달려면 로그인하십시오.


Walter Roberson
Walter Roberson 2015년 7월 12일
[h;x] = [
-.5002995248, -.9581351468, 2.191580534, -1.788893598;
-.6491362168, .8076085058, 1.734489059, 1.370112302 ]
also, h = 0 together with any x
Solution mechanism: solve eq1 for h. Take the non-trivial root and substitute it in to eq2. solve for all solutions. I used Maple's allvalues() on the RootOf() that resulted from solve(), but you could use the techniques outlined in vpasolve(). Back-substitute those x values into the solution for h found in the first step.
  댓글 수: 1
Phan
Phan 2015년 7월 13일
Thanks Buddy!

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Systems of Nonlinear Equations에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by