You can put this solution on YOUR website! Solve algebraically cos^2 x = sin x to find solutions in the domain 0<= x < 2 pi
cos^2 x = sin x
1-sin^2 x=sin x
sin^2 x+sin x-1=0
solve for sin x by quadratic formula:
a=1, b=1, c=-1
sin x=-1.618 (reject, -1 < sin x < 1)
or
sin x=0.618
x≈0.6661