Python Programming

Python is an interpreted language with an easy to learn syntax and has very good libraries for graphics, networking, scientific computation etc. It is freely downloadable and available on almost all operating systems. The Phoenix project uses Python for developing all the code except the one running on the micro-controller. There are so many books available on Internet for learning Python. The book Python for Education tries to introduce Python as a tool for learning Science & Mathematics. To run and modify the examples given in this book, a code browser program also is available as a Debian package.

Download the Book in PDF format and the  code example browser. A screen-shot of this program is here.   (Python book and Code Browser)

Python for learning Science and Maths

    In the high school classes, we learn about the various branches of mathematics, like geometry, algebra, trigonometry, calculus etc. , without bothering much about their interconnections. Plotting the graphs of different algebraic and trigonometric functions helps understanding them better. Simple numerical methods can demonstrate the connection between algebra and calculus. This knowledge is useful for for exploring the problems in physics in a different manner.

The software requirement is Python Interpreter along with Numpy, Scipy and Matplotlib packages.

Youtube Videos

Several videos made during writing these examples also have been uploaded to the Youtube. (Keeping the RecordmyDesktop program running and mumbling while writing code can generate the drag and audio comparable to that of a 19th century steam locomotive)

Short Python Programs, based on Higher Secondary Mathematics and Physics topics

All the examples below have less than 20 lines of Python code, excluding empty lines and comments. If any example exceeds 20 lines, you will find a shorter version also given.