+0  
 
0
50
1
avatar

Compute \(\displaystyle \sum_{n = 1}^{360} \cos \left( \frac{n(n + 1)}{2}^\circ \right)\)

 Dec 25, 2019
 #1
avatar
0

n=1;p=0;b= cos(1/2*n*(n+1));p=p+b;n++;if(n<=360, goto2,0);printp

 

OUTPUT = - 2

 Dec 26, 2019

35 Online Users

avatar
avatar