How to solve polynomial without using array matrix?

I have to find root of 7th order polynomial whose coffecients are little hectic to calculate because I have to find roots for more than one polynomial equation. Here coffecients are also of higher order(chances of wrong calc manually). I tried to myself I am quoting below:
syms x
f=(1632+24.74-187.649792*x)-(-0.228*20^2)*(1-0.000624367*x)*(1-0.000624367*x)*(0.247-0.000154219*x)*(0.95-0.001173138*x)*(1-0.000624367*x)*(1)*(1-0.000154493*x)*(1.2-6.014377*10^-5*x)
after this use expand and then tried roots(f), solve(f) got nothing.......Anyone please answer what is error or is ther any other way of doing this?

 採用された回答

Walter Roberson
Walter Roberson 2021 年 9 月 11 日

0 投票

syms x
f=(1632+24.74-187.649792*x)-(-0.228*20^2)*(1-0.000624367*x)*(1-0.000624367*x)*(0.247-0.000154219*x)*(0.95-0.001173138*x)*(1-0.000624367*x)*(1)*(1-0.000154493*x)*(1.2-6.014377*10^-5*x)
f = 
vpasolve(f)
ans = 

その他の回答 (0 件)

カテゴリ

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

製品

リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by