subject
Computers and Technology, 04.07.2020 05:01 amy290

Suppose you want to predict the value of your Roth IRA Opens in new tab

as you age. Create a function (prob3_3) that takes scalar inputs of the principal amount, contribution amount, annual interest rate and numberof years. Your output will be a vector of the amount in your account the first day each year. Year one begins the day we open the account with our principal contribution. Assume that on the last day of the year, all interest is paid based on the amount in the account over the previous year then the new contribution is added.

Though this can be done without a loop (perhaps more efficiently), your program must use (at least) one.

Hint: use a for loop to generate the account value at the start of each year. E. g. there is $5500 in 2015, then $5500 + $440 (interest on the $5500) + $5500 (deposit) = $11,440 in 2016, then $11,440 +$915.20 (interest on the $11,440) + $5500 (deposit) = $17,855 in 2017, etc.

Using MATLAB

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 21:00, ziahziah
Which function key is used to enable the spelling & grammar function in a word processing program such as microsoft word?
Answers: 3
image
Computers and Technology, 21.06.2019 21:00, htahir2345
You turn your computer on and the computer will not boot up where is something you should do to diagnose the problem?
Answers: 1
image
Computers and Technology, 22.06.2019 13:00, olorteguimikie
Which part of the cpu accepts data?
Answers: 1
image
Computers and Technology, 22.06.2019 19:40, rakanmadi87
Solve the following javafx application: write a javafx application that analyzes a word. the user would type the word in a text field, and the application provides three buttons for the following: - one button, when clicked, displays the length of the word.- another button, when clicked, displays the number of vowels in the word.- another button, when clicked, displays the number of uppercase letters in the word(use the gridpane or hbox and vbox to organize the gui controls).
Answers: 1
You know the right answer?
Suppose you want to predict the value of your Roth IRA Opens in new tab

as you age. Cr...

Questions in other subjects: