solve sinx=cosx
solve the equation
sin x=cos x
(sin x) / (cos x) = (cos x) / (cos x)
(sin x) / (cos x) = 1
(sin x) / (cos x) = tan x
Therefore, tan x = 1
We get the angle using the arctangent function.
arctangent 1 = 45 degrees
sin 45 = 0.7071067
cos 45 = 0.7071067
x is 45 degrees