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 日

0 投票

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 件のコメント

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

サインインしてコメントする。

コミュニティ

カテゴリ

ヘルプ センター および File ExchangeMaterial Sciences についてさらに検索

質問済み:

2021 年 3 月 23 日

コメント済み:

2021 年 3 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by