フィルターのクリア

How to display answers for a system of two nonlinear equations, in scientific notation?

1 回表示 (過去 30 日間)
Mohiedin Bagheri
Mohiedin Bagheri 2021 年 12 月 10 日
編集済み: Walter Roberson 2021 年 12 月 11 日
Hello all,
I have solved this system of equations in matlab
syms x y
sol = solve([((2*x^2)/(3-y))+2==-50, y/(2*x-3)-3==4/7], [x,y])
sol.x
disp(sol.y)
And the answer is :
ans =
650/7 - (2*101257^(1/2))/7
(2*101257^(1/2))/7 + 650/7
31975/49 - (100*101257^(1/2))/49
(100*101257^(1/2))/49 + 31975/49
I want MATLAB automatcall display answer in Scientific notation such as A*10^x. Would you please guide me what modifications I need to apply to my code?
Thank you very much

回答 (0 件)

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by