Calculator homework