Praveen Chandrashekar

Centre for Applicable Mathematics, TIFR, Bangalore

[ People | News | Codes | Talks | Teaching | Publications | Calendar | Hiking | Contact ]

Numerical Analysis Aug-Dec 2013

For latest and updated codes, see


  1. Abhrojyoti Sen
  2. Amrita Ghosh
  3. Aniket Bhanja
  4. Arka Mallick
  5. Arnab Roy
  6. Arunima Bhattacharya
  7. Debabrata De
  8. Debdeep Bhattacharya
  9. Manish Kumar Singh
  10. Manmohan

Reference texts

  1. K. Atkinson, Introduction to Numerical Analysis, Wiley
  2. David Kincaid and E. Ward Cheney, Numerical Analysis: Mathematics of scientific computing

Computer programs

Codes are available here

You can also get them using git

git clone

Computer arithmetic

  1. Store 1/10 and print it to see the conversion of real number to floating number
  2. Demonstration of unit round
  3. Example of overflow error and how to avoid it
  4. Errors due to subtracting nearly equal quantities
  5. Sensitivity of polynomial roots
  6. Unstable iterations
  7. Unstable iterations: ODE example

Root finding

  1. Bisection method: matlab, python
  2. Newton method: matlab, python


  1. Condition of vandermonde matrix: matlab
  2. Interoplate nice function like cos(x) on uniform data: matlab
  3. Interpolate on uniform and chebyshev points, Runge phenomenon: matlab
  4. Interpolate abs(x) on uniform and chebyshev points: matlab
  5. Interpolation to show Runge phenomenon, barycentric lagrange formula: python
  6. Behaviour of interpolation error on uniform and chebyshev points: matlab
  7. Behaviour of newton forward differences under roundoff error: matlab
  8. Adaptive piecewise P1 interpolation: matlab
  9. Trigonometric interpolation of periodic function: matlab
  10. Comparison of trigonometric and polynomial interpolation: matlab
  11. Convergence of trigonometric interpolation: matlab

Solving ODE

  1. Euler method, convergence test: python
  2. Euler method, convergence test: python
  3. Euler method, instability example: python
  4. Trapezoidal method, convergence test: python
  5. Absolute stability domains of AB, AM, BDF schemes: python
  6. Example of stiff ODE: python
  7. ODE with periodic solution, quadratic invariant: python