Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need help this java problem. I don't know how to find the extra contribution. (7 pts) Problem 1 e discussed an example of how money

image text in transcribed

Need help this java problem. I don't know how to find the extra contribution.

(7 pts) Problem 1 e discussed an example of how money in an account can grow with compound interest and ex In class, w tra coutributions at the end of eacl year. Let's approach this scenario frou a differeut augle. Suppose you have a set retirement date in mind, and you want to deternine how much you need to contribute each year in order to have a certain balance by that datc. Within your Lab5HW folder, write a program named GetRichSlowly.java that takes user inputs for curront ago, starting balance, desircd rctirement age, desired balance at rctircment, and projcctod annual growth rate in percent. The program should theu show the minimum yearly contribution that ueeds to be made in order to meet that goal, along with a table showing the money's projected growth (similar to our program from class). Just like the in-class program, assume the ycarly contributiou docs not change from year to year, and the money is compounded annually Hint: One way to solve this is to start the oxtra ycarly contribution at $0.00 and repcatcdly run through your account's projected growth, increasing the extra amount by S0.01 each time. Keep doing this until you find an extra amount that produces at least the desired balance at retirement. Here's au example of what your completed progran miglat look like wheu you ruu it. Underlined parts indicate what you type in as the program is running Current age: Starting balance Desired retirement age Desired balance at retirement age: 1000000 Projected annual growth (percent): 6 25 45 ear To reach that goal, you'il need to contribute $25004.55 per Projected growth: End 0.00 25004.55 25004.55 1500.27 25004.55 51509.37 3090.56 25004.55 79604.49 4776.27 25004.55 109385.30 6563.12 25004.55 140952.97 8457.18 25004.55 174414.70 31 174414.70 10464.88 25004.55 209884.13 13 12593.05 25004.55 247481.73 Interest Extra Start 0.00 Age 25 26 25004.55 27 51509.37 28 79604.49 29 109385.30 30 140952.97 32 209884. 33 247481.73 14848.90 25004.55 287 3351 34 35 329579.85 19774.79 25004.55 36 374359.19 22461.55 25004.55 287335.19 17240.11 25004.55 329579.85 374359.19 421825.29 25004.55 472139.36 37 421825.29 25309.52 38 472139.36 28328.36 25004.55 39 525472.27 31528.34 40 582005. 15 34920.31 25004.55 41 641930.01 38515.80 42 705450.36 42327.02 43 772781.93 46366.92 25004.55 844153.40 44 844153.40 50649.2025004.55 919807.15 45 919807.15 55188.43 25004.55 1000000.13 25004.55 582005.15 641930.01 25004.55 705450.36 25004.55 772781.93

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

IBM Db2 11 1 Certification Guide Explore Techniques To Master Database Programming And Administration Tasks In IBM Db2

Authors: Mohankumar Saraswatipura ,Robert Collins

1st Edition

1788626915, 978-1788626910

More Books

Students also viewed these Databases questions

Question

What is Accounting?

Answered: 1 week ago

Question

Define organisation chart

Answered: 1 week ago

Question

What are the advantages of planning ?

Answered: 1 week ago

Question

Explain the factors that determine the degree of decentralisation

Answered: 1 week ago

Question

Networking is a two-way street. Discuss this statement.

Answered: 1 week ago