solve the equation on the interval [0,2pi)

sin^2x=1

then

sinx = ± 1

looking at a standard sine curve we can see that
x = π/2 or x = 3π/2