Using the trapezoidal method algorithm we mentioned in class, do the following problems:For a given function ()=exp(−210)f(x)=exp(− 10x 2 ), evaluate the integral ∫−[infinity][infinity]()∫ −[infinity][infinity] f(x)dx by: A) Applying the midpoint rule. B) Applying Simpson's rule. C) Applying the trapezoidal rule. D) Using the Monte Carlo method.