Numerical analysis problems in python.