Question: OSC 1 4 3 6 : Programming Fundamentals I home > 2 . 1 : Floating - point ( doudie ) CHALLENGE ACTIVITY 2 .

OSC 1436: Programming Fundamentals I home >2.1: Floating-point (doudie)
CHALLENGE
ACTIVITY
2.7.2: Floating-point numbers (double).
568814.4267496.93z9y7
Jump to level 1
A polynomial is given by h=v2+3.5v-4.0. Declare double variables v and h. Then, read v from input and compute h using the polynomial.
Ex: If the input is 1.4, then the output is:
2.860
Note: v2 can be computed using *.
 OSC 1436: Programming Fundamentals I home >2.1: Floating-point (doudie) CHALLENGE ACTIVITY

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!