2*pi*1000 * integrate sin(2*pi*1000*t) from 0 to .0005