Farad
Integrated design environment.
>
New
Print
Tutorial
Feedback
README
Subscription Cost Calculator
Loading...
Evaluate
Reset
# FUNCTION FOR TOTAL COST C(P_0, t, r) = round((P_0 * 1 year) / r * (e^(r * (t / 1 year)) - 1), 2); # HOW TO USE THIS FUNCTION # C ( PRICE / PERIOD , TOTAL TIME , ANNUAL INFLATION ) # EXAMPLE "Total cost of a monthly subscription after time with inflation:" SubA = C(5.00 / month, 30 years, 3.0%) SubB = C(10.00 / month, 30 years, 5.0%) SubC = C(19.99 / month, 30 years, 3.0%) SubA + SubB + SubC
Total cost of a monthly subscription after time with inflation:
SubA
=
C
(
5
/
month
,
30
years
,
3
/
100
)
=>
2919.21
SubB
=
C
(
10
/
month
,
30
years
,
5
/
100
)
=>
8356.05
SubC
=
C
(
19.99
/
month
,
30
years
,
3
/
100
)
=>
11670.99
SubA
+
SubB
+
SubC
=>
22946.25
NO ERRORS