필터 지우기
필터 지우기

How to calculate compound interest?

조회 수: 9 (최근 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 CenterFile Exchange에서 Financial Toolbox에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by