Question: A polynomial is given by p = 8 . 0 u 2 + 3 . 5 u - 0 . 5 . Declare double variables

A polynomial is given by p=8.0u2+3.5u-0.5. Declare double variables u and p. Then, read u from input and compute p using the polynomial.
Ex: If the input is 3.4, then the output is:
103.880
Note: u2 can be computed using *.
 A polynomial is given by p=8.0u2+3.5u-0.5. Declare double variables u and

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!