File:Integration trapezoid.svg

From testwiki
Jump to navigation Jump to search
    Original file (SVG file, nominally 340 × 102 pixels, file size: 22 KB)

    This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

    Description Numerical integration by the Trapezoidal Method. The function being used is f(x)=x2+sin⁡(2πx).
    Date (UTC)
    Source
    Author
    I, the copyright holder of this work, hereby publish it under the following license:
    Public domain 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.

    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)
    

    Original upload log

    This image is a derivative work of the following images:

    • File:Calkowanie_numeryczne-metoda_trapezow.png licensed with PD-self
      • 2008-02-16T19:44:56Z Emergie 340x102 (1100 Bytes) {{Information |Description=Numerical integration |Source=własna praca |Date= |Author= [[User:Emergie|Emergie]] |Permission= |other_versions= }} [[Category:Numerical analysis]]

    Uploaded with derivativeFX

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    4 November 2010

    File history

    Click on a date/time to view the file as it appeared at that time.

    Date/TimeThumbnailDimensionsUserComment
    current07:32, 4 November 2010Thumbnail for version as of 07:32, 4 November 2010340 × 102 (22 KB)wikimediacommons>Kpengboy{{Information |Description=Numerical integration by the Trapezoidal Method. The function being used is <math>f(x) = x^2 + \sin(2\pi x)</math>. |Source=*File:Calkowanie_numeryczne-metoda_trapezow.png |Date=2010-11-04 06:29 (UTC) |Author=*[[:File:Calk

    There are no pages that use this file.