|
This is a file from the Wikimedia Commons. Information from its description page there is shown below. Commons is a freely licensed media file repository. You can help.
|
Description |
Numerical integration by the Trapezoidal Method. The function being used is . |
Date |
2010-11-04 06:29 (UTC) |
Source |
|
Author |
- derivative work: Kpengboy ( talk)
|
I, the copyright holder of this work, hereby publish it under the following license:
Public domainPublic domainfalsefalse |
|
I, the copyright holder of this work, release this work into the public domain. This applies worldwide. In some countries this may not be legally possible; if so: I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.Public domainPublic domainfalsefalse
|
|
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)
File usage
The following pages on Schools Wikipedia link to this image (list may be incomplete):
This file contains additional information, probably added from the digital camera or scanner used to create or digitize it. If the file has been modified from its original state, some details may not fully reflect the modified file.
SOS Children has brought Wikipedia to the classroom. SOS Childrens Villages is famous for the love and shelter it brings to lone children, but we also support families in the areas around our Children's Villages, helping those who need us the most. Will you help another child today?