Evaluate (sin(x)-cos(x))^2