solve a system of nonlinear equations + partial derivatives

1 vue (au cours des 30 derniers jours)
Abdelhak BENKABA
Abdelhak BENKABA le 16 Mar 2022
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

Réponses (1)

Torsten
Torsten le 16 Mar 2022
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".

Catégories

En savoir plus sur Systems of Nonlinear Equations dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by