Question: A polynomial is given by q = - 5 . 5 x ^ 2 - 2 . 0 . Read x from input as a

A polynomial is given by q
=
-
5
.
5
x
^
2
-
2
.
0
.
Read x from input as a float and compute q using the polynomial.
Ex: If the input is
2
.
2
,
then the output is:
-
2
8
.
6
2
0
Note:
x
^
2
can be computed using
*
.print(f'{q:.3f}')

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!