!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
cos2x = 2cosx - 1
cos^2 x - sin^2 x -2cosx + 1 = 0
cos^x + cos^2 x - 2cosx = 0
2cos^2 x - 2cos x = 0
2cos x(cos x - 1) = 0 Произведение равно нулю, когда один из
сомножителей равен нулю.
1)cos x = 0 x = pi/2 + pin
2) cos x - 1 = 0 ---> cos x = 1 --> x = плюс минус pi + 2pin