Qurak

Growth and time: compounding, doubling, arrival

Workflow 5 stappen, op volgorde uitgevoerd in één sessie. Elke stap is tegen de engine uitgevoerd en de uitvoer hieronder is wat hij opleverde.

Stap 1
balance[principal_, monthly_, rate_, months_] := principal (1 + rate)^months + monthly ((1 + rate)^months - 1)/rate

Geen uitvoer - deze stap zet iets klaar voor de volgende.

Stap 2
after30years = N[balance[20000, 500, 0.07/12, 360]]
Uitvoer
772315.4473951627
Stap 3
doublingYears = N[Log[2]/(12 Log[1 + 0.07/12])]
Uitvoer
9.930955714667654
Stap 4
N[D[balance[20000, 500, r/12, 360], r] /. r -> 0.07]
Uitvoer
1.687752907426951*^7
Stap 5
Plot[balance[20000, 500, r/12, 360], {r, 0.02, 0.10}]
Uitvoer
-Graphics-

Gebruikte functies

Gerelateerde recepten

Alle recepten · Functiereferentie · Gebruik dit vanuit een MCP-client