(adsbygoogle = window.adsbygoogle || []).push({}); 1. The problem statement, all variables and given/known data

Numerical integration using MATLAB m-files

Find the area under the curve of:

using trapezium rule

2. Relevant equations

g(x) = x^2 from x=0 to x=2

Area of a trapezium = h/2(a+b)

3. The attempt at a solution

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Homework Help: M-files to solve numerical integration

**Physics Forums | Science Articles, Homework Help, Discussion**