Slides ODE.pdf
(ODE topics) and
Random.pdf
(Monte Carlo methods)
in the common directory.
Do the following problems
From our text
Problems P12.1, P12.3, P12.5 You should use
Euler, Heun, Predictor-Corrector, second-order Runge-Kutta
methods to compute the results. You are strongly encouraged
to do the same with the classical fourth-order Runge-Kutta
method.
It can be proved that given any group of 23 people,
two of these 23 have the same birthday.
Let us forget about the month-day format and use 1 to 365
(or 0 to 364) instead.
Generate 23 random number with Fortran 90
RANDOM_SEED()
and
RANDOM_NUMBER()
and convert them to 23 integers
in the range of 1 and 365 (or 0 and 364).
Are there two of these 23 integers identical?
You may have to run your program a few times.
You do not have to turn in your paper. What I really expect
you to do is using these problems to gauge your understanding
of the subject. So, do the problems after finish
reading the above sections.