Numerical Methods Exercise