Prove and confirm a numerical result for the given trigonometric expression.
a. (i) Show that (sinθ−cosθ)2+(sinθ+cosθ)2=2 for every angle θ.
b. (ii) Evaluate both squares separately for θ=30∘ and add the results to confirm the equality obtained in part (i).