Clear Filters
Clear Filters

solve a system of nonlinear equations + partial derivatives

2 views (last 30 days)
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

Answers (1)

Torsten
Torsten on 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".

Categories

Find more on Systems of Nonlinear Equations in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!