Number of sub intervals are n = 10.
The error function is defined as .
Find out the integral using trapezoidal integral with n = 10.
Trapezoidal formula : .
Where .