2 2 cos (x) + cos (x) ----------------- 2 cos (x)
(cos(x)^2 + cos(x)^2)/cos(x)^2
2
2 2*cos (x) --------- 2 cos (x)
2*cos(x)^2/cos(x)^2
2.00000000000000