
Mike D. answered 06/12/21
Experienced high school discrete math teacher
David is nearly correct. You need to add 60 (the average) to his expression because we need D to be 60 when t=9.
Also the cycle repeats every 24 hours, so 24 hours is the period. The coefficient of (t-9) is always (2 pi / period).