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

CHALLENGE
ACTIVITY
2.4.2: Numeric types: Floating-point.
541040.3921090.932qy7
Jump to level 1
A polynomial is given by t=4.5s2+7.5s+5.0. Read s from input as a float and compute t using the polynomial.
Ex: If the input is 1.8, then the output is:
33.080
Note: s2 can be computed using *
1s=1.8
2t=4.5s???(2)+7.5s+5.0
3 print (f'{t:.3f}')
 CHALLENGE ACTIVITY 2.4.2: Numeric types: Floating-point. 541040.3921090.932qy7 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!