Calculate the simple interest earned on a principal over time.
The principal. (P>0)
P>0
The interest rate. (0≤r≤1)
0≤r≤1
The number of periods. (t is an integer and t>0)
t
t>0
Returns an object with the accrued amount and interest earned.
0.4.2
Calculate the simple interest earned on a principal over time.