A first course in numerical analysis