Use Eulers method to solve dBdt008B with initial value B1200
dB/dt=0.08B
with initial value B=1200 when t=0
A. delta(t)=0.5 and 2 steps: B(1) =
B. delta(t)=0.25 and 4 steps: B(1) =
please show work, thank you
Solution
It\'s not much difficult but just be careful in solving numericals.
here it is
dy/dt=f(y,t) y(0)=k
interval is [a,b]
then h=(b-a)/n
then it becomes n-step process .and it is observed that as n is increases more the precise the estimation will be 7 accurate the answer.
ti =ti-1 +h= a+ih
and
yi=yi-1+f(yi-1,ti-1)h
now we enter into our problem
dB/dt=0.08B
B0=1200
A) 2 step method
t0 =0
t=h=0.5
t1=0+0.5
=0.5
B1=B0+f(B0,t0)h
=1200+(0.08*1200)0.5
=1200+48=1248
t2=0.5+0.5=1
B2=1248 +(0.08*1248)0.5
=1248+49.92
1297.92
therefore B(t2)=B(1)=1297.92
B) 4 step method
t0 =0
t=h= 0.25
t1=0+0.25
=0.25
B1=B0+f(B0,t0)h
=1200+(0.08*1200)0.25
=1200+24=1224
t2=0.25+0.25=0.5
B2=1224 +(0.08*1224)0.25
=1224+24.48
=1248.48
t3=0.5+0.25=0.75
B3=1248.48+(0.08*1248.48)0.25
=1248.48+24.97
=1273.45
t4=0.75+.25=1
B4=1273.45 +(0.08*1273.45)0.25
=1273.45+25.47
=1298.91
therefore B(t4)=B(1)=1298.91

