Programming the Newton