Question: CHALLENGE ACTIVITY 2 . 4 . 2 : Numeric types: Floating - point. 5 1 8 6 4 6 . 3 9 0 7 2

CHALLENGE
ACTIVITY
2.4.2: Numeric types: Floating-point.
518646.3907278.qx32qy7
Jump to level 1
A polynomial is given by p=-u2-9.5u-5.5. Read u from input as a float and compute p using the polynomial. Ex: If the input is 3.0, then the output is:
-43.000
Note: u2 can be computed using *.
1
2'"' Your code goes here
3
4pr(f'{p:.3f}')
 CHALLENGE ACTIVITY 2.4.2: Numeric types: Floating-point. 518646.3907278.qx32qy7 Jump to level 1

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!