KFunk said:
This is outside the 3U course. In order to do it you want to use implicit differentiation.
sinx + cosy = 5
d/dx(sinx + cosy) = 0
cosx - dy/dx.siny = 0
dy/dx.siny = cosx
dy/dx = cosx/siny
you'll probably want an explanation of implicit differentiation to grasp that fully. I'll put up something about it tomorow if you want. Otherwise if anyone feels the urge... go for it.
dy/dx must be a function of x.
so you must continue as follows:
cosy = 5 - sinx
draw a right angle triangle and label one angle y.
the adjacent side = 5-sin x
the hypotenuse = 1
using pythagoras, the opposite side = sqrt(1-(5-sinx)^2)
you can now express sin y as sqrt(1-(5-sinx)^2).
this then must be substituted for sin y in the last line of your solution.