A course in numerical analysis