1 - cos П/4 + cos^2 П/4 - cos^3 П/4...=(1+сos^2П/4+сos^4П/4+...)-
(cosП/4+сos^3П/4+...)=(1-сosП/4)/(1-сos^2П/4)=1/(1+sqrt(2)/2)=2-sqrt(2)
1 - cos П/4 + cos^2 П/4 - cos^3 П/4...=(1+сos^2П/4+сos^4П/4+...)-
(cosП/4+сos^3П/4+...)=(1-сosП/4)/(1-сos^2П/4)=1/(1+sqrt(2)/2)=2-sqrt(2)