python

The following python programs are written to solve various problems of numerical analysis. The programs have been written using the Spyder editor with Python 2.7. All the programs have been tested successfully in Ubuntu 12.04. Let me know if there are any issues. Python codes based on Crank-Nicolson implicit method  (crank_nicolson.py) for solving heat equation (in partial differential equation) and optimization methods such as (bfsg.py, grad_descent.py, steep_descent.py, newton_minimization.py, random_search.py) are added recently. Let me know if there is any suggestion. I will be very much happy to implement that. New addition: Galerkin Method (galerkin1.py) and Rayleigh-Ritz Method (rayleigh_rtiz1.py) for solving boundary value problems and finite element method using Rayleigh-Ritz.