Completed calc() method in Person3.