How to find the polynomial equation when factors is provided?

12 views (last 30 days)
I have f(x) = (x+7)*(x-19)*(x-18)*(x+17) as the given, how to find its polynomial expression given its factors?
i only know how to solve the root of the functions but not the other way around. sorry for asking again. thank you!

Answers (1)

Matt J
Matt J on 7 Jun 2021
Edited: Matt J on 7 Jun 2021
p = poly([-7,19,18,-17])
p = 1×5
1 -13 -427 3805 40698
  2 Comments
Matt J
Matt J on 7 Jun 2021
You mean symbolic form?
syms f(x)
f(x)=poly2sym( poly([-7,19,18,-17]) )
f(x) = 

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!