subject

Write an algorithm to settle the following question: A bank account starts out with $10,000. Interest is compounded monthly at 6 percent per year (0.5 percent per month). Every month, $500 is withdrawn to meet college expenses. After how many years is the account depleted?

Here is what I got so far. Can you tell if I am on the right track.

Step 1 Start with the table:
Month Balance
0 $10,000.00

Step 2 Repeat steps 2a, 2b, 2c while the balance is greater than $0.00
Step 2a. Add a new row to the table.
Step 2b. In column 1 of the new row, labeled "Month", put one more than the preceding month value.
Step 2c. In column 2 of the new row, labeled "Balance", place the value of this formula
b * (1 + 0.005) - 500
where b is the preceding balance value.

Step 3 Read the last number in the month column (let's call it months). Report that the account will be depleted in (months / 12) years and (months % 12) months.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 09:50
17. implement the jvm dload instruction for the mic-2. it has a 1-byte index and pushes the local variable at this position onto the stack. then it pushes the next higher word onto the stack as well
Answers: 2
question
Computers and Technology, 22.06.2019 17:00
What allows you to create a wireless connection among your smart devices
Answers: 2
question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. what does it indicate when a website displays https instead of http? a. the website is secure. b. there is no secure sockets layer. c. the secure sockets layer is hidden. d. the website is not secure.
Answers: 1
question
Computers and Technology, 24.06.2019 11:20
William travels a lot on business purpose. he needs to regularly communicate with his business partner. he also needs to send out weekly reports to his boss while he is traveling. which web-based application best suits william’s needs? (social media, webmail, wiki) is the best web-based application for william. he can access this application via the internet using a (digital cable, fax machine, web browser).
Answers: 1
You know the right answer?
Write an algorithm to settle the following question: A bank account starts out with $10,000. Intere...
Questions
question
Mathematics, 08.07.2020 04:01
question
Mathematics, 08.07.2020 04:01
question
Mathematics, 08.07.2020 04:01
question
Mathematics, 08.07.2020 04:01
Questions on the website: 13722361