# How to plot the growth of interest in matlab (time on x-axis and current balance on y-axis)?

4 visualizzazioni (ultimi 30 giorni)
Catherine il 17 Set 2013
Commentato: camren Elia il 1 Nov 2021
Interest is compounded continuously; P = pe^(rt) represents the growth of your savings.
P= current balance
p= initial balance
e= (number 'e') approx. 2.72
r= growth rate (expressed as decimal fraction)
t= time invested (years)
Determine the amount in your account at the end of each year if you invest \$1000 at 8% (0.08) for 30 years. Plot time on the x-axis and the current balance on the y-axis.
##### 0 CommentiMostra -2 commenti meno recentiNascondi -2 commenti meno recenti

Accedi per commentare.

### Risposte (1)

Laurent il 17 Set 2013
I'll give you one hint, because it seems to me that this is homework.
t=[0:1:30];
##### 3 CommentiMostra 1 commento meno recenteNascondi 1 commento meno recente
Catherine il 17 Set 2013
It is homework. But considering I don't even know the basics, hints don't exactly help. Thanks for the uppity attitude though.
camren Elia il 1 Nov 2021

Accedi per commentare.

### Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

### Community Treasure Hunt

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

Start Hunting!

Translated by