sina-cosa=m
=>(sina-cosa)^2=m^2
=>sina^2+cosa^2-2sinacosa=m^2
=>-2sinacosa=m^2-1
=>sinacosa=(1-m^2)/2