sum[i*(.999)^i, {i,0,499}]*2.842842*.001+1000*(1-.999^500)+2.842842*500*(.999)^500]