Simplify (1-(sin(x)-cos(x))^2)/(2cos(x))