solving non linear equation

f1=@(x1,x2) [acos((x1-4.8)/x1)*x1*x1 - (x1-4.8)*sqrt(9.6*x1-(4.8)^2)]*x2 -15000;
f2= @(x1,x2) [acos((x1-9.9)/x1)*x1*x1 - (x1-9.9)*sqrt(19.8*x1-(9.9)^2)]*x2 -48000;
please help me to provide script code to solve this
thank you so much

回答(1 个)

KSSV
KSSV 2021-3-23
编辑:KSSV 2021-3-23
syms x1 x2
eqn(1) = (acos((x1-4.8)/x1)*x1*x1 - (x1-4.8)*sqrt(9.6*x1-(4.8)^2))*x2 -15000 == 0;
eqn(2)= (acos((x1-9.9)/x1)*x1*x1 - (x1-9.9)*sqrt(19.8*x1-(9.9)^2))*x2 -48000 == 0;
s = vpasolve(eqn,[x1 x2]) ;
s.x1
ans = 
s.x2
ans = 

3 个评论

i will try in matlab to see result
thanks
Edited the answer showing results..
can there be multiple solution ? because value does not satify to my application
if yes then hoe other solution points be extracted?

请先登录,再进行评论。

社区

更多回答在  Power Electronics Control

类别

在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by