# SICP Solutions

### Section - Formulating Abstractions with Higher-Order Procedures

#### Exercise 1.29

We can simply write the procedure following the original integral procedure shown. Notice here that the arguments passed to sum are not $a$ and $b$ but the indexes of the terms i.e. 0, 1, 2 … n.

We can see the output of simpson is more accurate than original procedure.