Question: Coding Exercise: A Feat With Feet For this program the input is a floating-point number representing a height measured in feet. Write a program that

Coding Exercise: A Feat With Feet

For this program the input is a floating-point number representing a height measured in feet. Write a program that will output the equivalent height in centimetres using the conversion formula 1 foot = 30.48 cm. For example, if the input is 0.5, then the output should be 15.24.

Coding Exercise: Gravity

A parcel is thrown downward at a speed of v m/s from an airplane at altitude 11000 m. As it falls, its distance from the ground is given by the formula -4.9t2 - vt + 11000, where t is the time in seconds since it was dropped. Write a program to output the time it will take to reach the ground. The input to your program is the positive floating-point number v. The required time is given by the quadratic formula

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!