Borrar filtros
Borrar filtros

How to calculate compound interest?

9 visualizaciones (últimos 30 días)
NAHID SULTANA
NAHID SULTANA el 30 de Jul. de 2020
Comentada: Ifeanyi el 9 de Feb. de 2024
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 .

Respuestas (1)

SAA
SAA el 30 de Jul. de 2020
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 comentario
Ifeanyi
Ifeanyi el 9 de Feb. de 2024
Thank you for the help. The question confused me for a second.

Iniciar sesión para comentar.

Categorías

Más información sobre Financial Toolbox en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by