You are on page 1of 1

2c) Code for the plot

D = 2;
nd = 2;
r = 2;

t = 0.01:0.05:10;
Name1 = (4*pi*D*t).^1.5;
Name2 = exp(-r^2./(4*D*t));
dcdt = (nd./Name1).*Name2;
figure
plot(t, dcdt);
xlabel('Time');
ylabel('Accumulation');

0.02

0.018

0.016

0.014

0.012
Accumulation

0.01

0.008

0.006

0.004

0.002

0
0 1 2 3 4 5 6 7 8 9 10
Time

Fig. Plot of Accumulation against time

It is shown that Accumulation increases simultaneously with very small increase with time but gets to an
an accumulation value of about 0.018 and begins to decrease rapidly with a significant change in time.
This implies that it take accumulation very little time to increase but then takes it a much longer time to
decrease.

You might also like