Chap 1 Computational Physics Python Code

Chap1 code of Eric Ayar's Computational Physics with Python book.