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

Answers (1)

KSSV
KSSV on 23 Mar 2021
Edited: KSSV on 23 Mar 2021
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 Comments

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?

Sign in to comment.

Communities

More Answers in the  Power Electronics Control

Categories

Find more on Material Sciences in Help Center and File Exchange

Asked:

on 23 Mar 2021

Commented:

on 23 Mar 2021

Community Treasure Hunt

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

Start Hunting!