Search This Blog

Saturday, January 1, 2011

Simple version of orthogality problem

from math import *
dotproduct=[sin(pi*i/180)*cos(pi*i/180)for i in range(180)]
print sum(dotproduct)

by Prof. Ahamed Ashraf

No comments:

Post a Comment