упростите sin(45-b)+sin(45+b)
Sin(45-b)+sin(45+b)=sin45cosb-sinbcos45+sin45cosb+sinbcos45=2sin45cosb=2cosb