Average balance

317 days ago by reahin

var('t') a=0;b=1 A(t)=10000*e^(0.03*t) AVERAGE=1/(b-a)*integral(A,t,a,b) print "AVERAGE amount in the account=", AVERAGE BONUS=0.01*AVERAGE print "BONUS=", BONUS 
       
AVERAGE amount in the account= t |--> 10151.5113178
BONUS= t |--> 101.515113178390
AVERAGE amount in the account= t |--> 10151.5113178
BONUS= t |--> 101.515113178390