n^2/(1+n^2) cos n for n=-150 to 150