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?

 Accepted Answer

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 = 

More Answers (0)

Products

Release

R2020b

Community Treasure Hunt

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

Start Hunting!