cos^2x-sin^x=-cosx