Simplify cos square theta minus 1 by sin square theta

suvi's image