Top Banner
In[1]:= eqtn = r'@tD == - 0.1 * r@tD; gensol = DSolve@eqtn, r@tD,tD; parsol = DSolve@8eqtn, r@0D 200<,r@tD,tD; greqtn = r@tD. parsol; Plot@Evaluate@greqtnD, 8t, 0, 20<, PlotLegends "Expressions", PlotRange 80, 200<, PlotLabel "Decay Model", GridLines 883<, 8<<, AxesLabel 8"Time", "Radioactive material in Grams"<D grval = greqtn .t 3 Out[5]= 0 5 10 15 20 Time 50 100 150 200 Radioactive material in Grams Decay Model 200. ª -0.1 t Out[6]= 8148.164<
1

Exponential Decay Model in Differential Equations

Dec 20, 2015

Download

Documents

AkulBansal

We model radioactive decay of an element or exponential increase of population using differential equations in Mathematica software.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Exponential Decay Model in Differential Equations

In[1]:= eqtn = r'@tD == -0.1 * r@tD;

gensol = DSolve@eqtn, r@tD, tD;

parsol = DSolve@8eqtn, r@0D � 200<, r@tD, tD;

greqtn = r@tD �. parsol;

Plot@Evaluate@greqtnD, 8t, 0, 20<, PlotLegends ® "Expressions",

PlotRange ® 80, 200<, PlotLabel ® "Decay Model", GridLines ® 883<, 8<<,

AxesLabel ® 8"Time", "Radioactive material in Grams"<Dgrval = greqtn �. t ® 3

Out[5]=

0 5 10 15 20

Time

50

100

150

200

Radioactive material in Grams

Decay Model

200. ã-0.1 t

Out[6]= 8148.164<