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 个)
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
s.x2
3 个评论
satyajit kumar
2021-3-23
KSSV
2021-3-23
Edited the answer showing results..
satyajit kumar
2021-3-23
社区
类别
在 帮助中心 和 File Exchange 中查找有关 Material Sciences 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

