Discussion:
Q: Let P be the set of patients in a hospital, let D be the set of doctors on the hospital staff, and N be the set of nurses on the hospital staff. Which of the indicated correspondence defines functions? Explain.
(A) a patient corresponds to the doctor if that doctor admitted the patient to the hospital.
(B) A patient corresponds to the nurse if that nurse cares for the patient.