Interest calculation with while

5 ビュー (過去 30 日間)
Tony Jacob
Tony Jacob 2016 年 9 月 29 日
コメント済み: Walter Roberson 2016 年 10 月 3 日
I have no idea where to start for this problem, any help would be appreciated.
Use a while loop to determine how many months it will take to accumulate $1.5 million in your retirement account under the following conditions: initial deposit = $1,000, interest is 0.5%, per month and you pay $750 into the account each month.

回答 (1 件)

Rani V.S
Rani V.S 2016 年 10 月 3 日
編集済み: Rani V.S 2016 年 10 月 3 日
while sum<1500000
  1 件のコメント
Walter Roberson
Walter Roberson 2016 年 10 月 3 日
That would be 50% interest per month, not 1/2 % interest per month.



Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by