Keywords: Integration trapezoid.svg Numerical integration by the Trapezoidal Method The function being used is <math>f x x 2 + \sin 2\pi x </math> Calkowanie_numeryczne-metoda_trapezow png 2010-11-04 06 29 UTC Calkowanie_numeryczne-metoda_trapezow png Emergie derivative work Kpengboy <span class signature-talk >talk</span> Gnuplot Script Used SVG output set terminal svg size 340 102 set output Integration_trapezoid svg set samples 1000 Configure border axes etc unset key set xrange -2 2 set yrange -1 5 4 75 set border 3 lt 1 lc rgb black set grid set xtics autofreq 1 set ytics autofreq 2 Define our function f x x 2 + sin 2 pi x Draw trapezoids set for i 0 15 object i+1 polygon from -2+ 25 i 0 to -2+ 25 i+1 0 to -2+ 25 i+1 f -2+ 25 i+1 to -2+ 25 i f -2+ 25 i to -2+ 25 i 0 fs empty border lt 3 Plot plot f x Numerical analysis</nowiki> Uploaded with derivativeFX Numerical analysis Trapezium rule Images with Gnuplot source code |