Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I have part one done I just need help with part two and three. Using C++ 1. Write a program that will compute the distance

I have part one done I just need help with part two and three.
image text in transcribed
Using C++ 1. Write a program that will compute the distance an object will fall (traveling down) for times of I second to 15 seconds. The formula is d gt2 where d is the distance in meters, g is 98 (gravity) and t is the amount of time in seconds that the object has been falling. Write a function named fallingDistance' passing in the time as an argument. Print out the time and the distance in table format. The function will NOT have a loop in it. Write a function to print labels and another function to print one line of output 2. I just climb Mt. Everest and I'm looking around enjoying the view and a mighty gust of wind comes up and blows me off the back of the mountain. The drop is 12,000 meters straight down. I want to know how much time I have left before I pull my safety parachute. You are to print out how much timeI have left (before splat) every 500 meters. Print out meters traveled and time remaining in table format. Write a function BeforeSplat passing in the distance. Again, BeforeSplat function does NOT have a loop in it. Write a function to print labels and another function to print one line of output Formula above is now t 3. I trying to save some monies for the future either for myself, my children or grand children. Ilooking at putting in to savings/investments at the beginning of some time and letting it grow with no additional added funds. Write a program to compute the amount of monies I will have after saving for 5 years to 60 years at increments of 5 years. That should do for now. The formula 'future value formula'is F- P x ( 1 x i ) t where F is the future value (monies accumulate) Pis current monies deposited, i is monthly interest (not yearly) and t is number of months for investment. Use an interest rate of 10% per year with an initial investment of S5,000.00 and of S10,000.00 where the years range from 5 yr to 60 yr. Print out in table format with headings. See below number initial initial year S5,000.00 S10,000.00 8,234.00 18,444.00 10 60

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Climate And Environmental Database Systems

Authors: Michael Lautenschlager ,Manfred Reinke

1st Edition

1461368332, 978-1461368335

More Books

Students also viewed these Databases questions

Question

Describe the nature of negative messages.

Answered: 1 week ago