!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! Program file name: dart2.f90 ! ! ! ! © Tao Pang 2006 ! ! ! ! Last modified: November 13, 2009 ! ! ! ! (1) This F90 program is created for the book, "An Introduction to ! ! Computational Physics, 2nd Edition," written by Tao Pang and ! ! published by Cambridge University Press on January 19, 2006. ! ! ! ! (2) No warranties, express or implied, are made for this program. ! ! ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! MODULE CSEED INTEGER*8 :: SEED END MODULE CSEED ! PROGRAM DART2 ! ! An example of evaluating pi by throwing a dart to a ! unit square with 0