/*-------------------------------------------------------------*/
/* Cut this and save to genwin.c				       */
/* Program courtesy of Gregory F. Shay  1988			*/

#include <math.h>
main()
{
	int i,j,k;
	float a,b,theta,theta2,theta3;
	float pi,jt;

pi = 3.1415926;
printf("r\n7\n");
for(i=0;i<128;i++)
	{
	theta2 = i*pi/128.;
	printf("%g\n",((1.-(cos(theta2)*cos(theta2)))/2));
	}
}
