use Simpson's rule e^(-a t) from 0 to a with 5 intervals