fsolve to solve 5th order polynomial
11 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
Plus de réponses (1)
Walter Roberson
le 14 Déc 2019
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 commentaires
Voir également
Catégories
En savoir plus sur Polynomials dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!