Boole's rule for sin x cos x e^x from 1 to 3 in 4 intervals