Answer to Question #5584 in MatLAB | Mathematica | MathCAD | Maple for Shayan

Question #5584

Calculate numerically the following integral with Matlab:
integral(0 t0 4)(e^x/sqrt(1+x^2))dx
use the rectangular quadrature of the following form:
I=integral(a to b)f(x)dx=(b-a)f(a)
using this quadrature, derive a compostive quadrature rule and the formula to compute this integral.
Write a Matlab function computing this integral.

## Comments

## Leave a comment