solve a system of nonlinear equations + partial derivatives

1 回表示 (過去 30 日間)
Abdelhak BENKABA
Abdelhak BENKABA 2022 年 3 月 16 日
回答済み: Torsten 2022 年 3 月 16 日
Hello
I am a beginner in Matlab, I would like to solve a system of nonlinear equations which contains equations with partial derivatives
r=x^2+y^2+z^2+w^2
find x , y , z , w
dr/dx+dr/dy+dr/dz+dr/dw =0
((5.3)-(x+23.5))^2+((11.4)-(y+12.8))^2-18^2=0;
((5.3)-(z+7.3))^2+((11.4)-(w+6.7))^2-36=0;
((x+23.5)-(z+7.3))^2+((y+12.8)-(w+6.7))^2-36-18^2=0

回答 (1 件)

Torsten
Torsten 2022 年 3 月 16 日
I would like to solve a system of nonlinear equations which contains equations with partial derivatives
If you evaluate dr/dx, dr/dy, dr/dz and dr/dw, you get a fourth algebraic equation.
This system of 4 algebraic equations in 4 unknowns can be solved using "fsolve".

カテゴリ

Help Center および File ExchangeSystems of Nonlinear Equations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by