That’s what we call “real life problems”.

Tarzan is swinging back and forth on his grapevine. As he swings he goes back and forth over the river bank, going alternately over land and water. Janes decides to mathematically model his motion and start her stopwatch. Let t be the number of seconds the stopwatch reads and let y be the number of meters Tarzan is from the river bank. Assumes that y varies sinusoidally with t, and that y is positive when Tarzan is over water and negative when he is over land.
Jane finds that when t=2, Tarzan is at one end of it swing, where y=-23. She finds that when t=5, he reaches the other end of his swing and y=17.

#?