fsolve to solve 5th order polynomial
11 ビュー (過去 30 日間)
古いコメントを表示
I would like to solve the following polynomial numerically for r: ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/254403/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/254403/image.png)
I am trying to use fzero as follows:
r= (5/(r^2*9))- ((2)/(9*(6-r)^2))
x0 = 10; % some initial point
x = fzero(r,x0)
How can this be solved using fzero?
0 件のコメント
採用された回答
その他の回答 (1 件)
Walter Roberson
2019 年 12 月 14 日
You have an equation of the form A=B. Subtract B from both sides giving an equation of the form (A) - (B) = 0. Now you can fsolve
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Polynomials についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!