Prior knowledge tells me that to get maximum I would turn sin() into its maximum value (1), making the maximum y=18-5*1 = 13. But this isn't correct. My calculator tells me that's the minimum, and that 18+5 would give the maximum.

How would I find that without a calculator?