Question3a

The code is try to solve the integration of sin(x) with slice number
from 1 to 20