How to calculate compound interest?

10 ビュー (過去 30 日間)
NAHID SULTANA
NAHID SULTANA 2020 年 7 月 30 日
コメント済み: Ifeanyi 2024 年 2 月 9 日
We borrowed $1000 money with an annual interest 10%. If we do not pay any penalty in 2 years then how much we owe the money? Answer must be assign in a variable called debt .

回答 (1 件)

SAA
SAA 2020 年 7 月 30 日
It sounds like this is a copy paste of an assignment but ok
P = 1000; % principle
r=0.1; n=2;
debt = P*(1+r)^n
  1 件のコメント
Ifeanyi
Ifeanyi 2024 年 2 月 9 日
Thank you for the help. The question confused me for a second.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by