Write a program that inputs the following polynomial coeffic

Write a program that inputs the following polynomial coefficients then evaluates and prints the polynomial value at x equals 10. y (x) =ax^2+bx+c

Solution

x=10;
a=input(\'enter the value of the coefficient a \');
b=input(\'enter the value of the coefficient b \');
c=input(\'enter the value of the coefficient c \');
y=a*(x^2)+b*x+c
enter the value of the coefficient a -3
enter the value of the coefficient b 4
enter the value of the coefficient c 9

y =

-251

 Write a program that inputs the following polynomial coefficients then evaluates and prints the polynomial value at x equals 10. y (x) =ax^2+bx+cSolutionx=10;

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site