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

Antworten (1)

KSSV
KSSV am 23 Mär. 2021
Bearbeitet: KSSV am 23 Mär. 2021

0 Stimmen

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 Kommentare

satyajit kumar
satyajit kumar am 23 Mär. 2021
i will try in matlab to see result
thanks
KSSV
KSSV am 23 Mär. 2021
Edited the answer showing results..
satyajit kumar
satyajit kumar am 23 Mär. 2021
can there be multiple solution ? because value does not satify to my application
if yes then hoe other solution points be extracted?

Melden Sie sich an, um zu kommentieren.

Communitys

Weitere Antworten in  Power Electronics Control

Kategorien

Mehr zu Material Sciences finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 23 Mär. 2021

Kommentiert:

am 23 Mär. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by