##abstract
this is a numberical solution of problem_1.5 of Nicholas J. Giordano's computational physics
##background
In chapter_01 of computational physics,we learn how to program to solve a radioactive decay problem and test the program.
class and object skills of python,matplotlib and Euler's method of math,all these skills would suffice for us to
work out a satisfying numerical solution to this kind of problem.
We can practice the methods we learned by programing to solve some similar problems,problem_1.5 is one of them.
##main body
click her to check the code.
the code can be divided into two parts,part_01 and part_02.part01 could reach a numerical result to the problem,part02
is applied to test whether or not the result is reasonable.
###part_01:numerical result
here is the screemshot of this part of code
here is the screemshoot of the result
the output data is store as a txt document.If youwant to check it,click here
###part_02:test the program:comparing the result with an available exact solution
here is the screemshot of this part of code
here is the screemshoot of the result
##conclusion
1.Euler's method is an efficacious mathematical method
2.a smaller time_of_step could make a more accurate result
##acknowledgement
I did all of these on my own
thank to Mr.cai's teaching document