File:Lagrange polynomial.svg
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Size of this PNG preview of this SVG file: 743 × 503 pixels. Other resolutions: 320 × 217 pixels | 640 × 433 pixels | 1,024 × 693 pixels | 1,280 × 867 pixels | 2,560 × 1,733 pixels.
Original file (SVG file, nominally 743 × 503 pixels, file size: 85 KB)
File information
Structured data
Captions
Summary[edit]
DescriptionLagrange polynomial.svg |
English: This W3C-unspecified diagram was created with Mathematica. |
Date | |
Source | Self-made, based on Image:Lagrangepolys.png |
Author | User:Glosser.ca |
Other versions | Image:Lagrangepolys.png |
Source[edit]
colors = ColorData[97] /@ Range[4]; pts = {{\[Minus]9, 5}, {\[Minus]4, 2}, {\[Minus]1, \[Minus]2}, {7, 9}}; {xs, ys} = Transpose[pts]; Basis[pts_, x_] := Times @@ (x - DeleteCases[pts, #])/Times @@ (# - DeleteCases[pts, #]) & /@ pts Plot[ { Evaluate[ys*Basis[xs, x]], Total[ys*Basis[xs, x]] }, {x, -9, 7}, PlotStyle -> {Automatic, Automatic, Automatic, Automatic, Directive[Black, Dashed]}, Frame -> True, Axes -> False, ImageSize -> Large, GridLines -> Automatic, GridLinesStyle -> Directive[LightGray, Dashed], PlotStyle -> Thick, Epilog -> Table[{PointSize[0.02], ColorData[97][i], Point[pts[[i]]]}, {i,4}], PlotLegends -> Placed[ LineLegend[{ Subscript[\[ScriptL], 1][x], Subscript[\[ScriptL], 2][x], Subscript[\[ScriptL], 3][x], Subscript[\[ScriptL], 4][x], L[x] }, LegendLayout -> {"Row", 1}], Top ], FrameStyle -> Black ]
Licensing[edit]
I, the copyright holder of this work, hereby publish it under the following licenses:
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license. | ||
| ||
This licensing tag was added to this file as part of the GFDL licensing update.http://creativecommons.org/licenses/by-sa/3.0/CC BY-SA 3.0Creative Commons Attribution-Share Alike 3.0truetrue |
You may select the license of your choice.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 18:29, 23 April 2016 | 743 × 503 (85 KB) | Rayhem (talk | contribs) | Swapped axis for frame; added legend. | |
16:01, 26 December 2015 | 449 × 278 (62 KB) | Rayhem (talk | contribs) | Added major ticks to axis, removed some of the top/bottom whitespace | ||
13:07, 2 January 2009 | 391 × 390 (100 KB) | Renamed user KdYpUvMgT (talk | contribs) | |||
20:01, 20 December 2008 | 391 × 390 (101 KB) | Renamed user KdYpUvMgT (talk | contribs) | {{Information |Description={{en|1=This image shows, for four points ((−9, 5), (−4, 2), (−1, −2), (7, 9)), the (cubic) interpolation polynomial L(x), which is the sum of the scaled basis polynomials y0ℓ0(x), y1ℓ1(x), y2ℓ2(x) and y3ℓ3(x). Th |
You cannot overwrite this file.
File usage on Commons
The following page uses this file:
File usage on other wikis
The following other wikis use this file:
- Usage on ar.wikipedia.org
- Usage on ckb.wikipedia.org
- Usage on en.wikipedia.org
- Usage on es.wikipedia.org
- Usage on fi.wikipedia.org
- Usage on fr.wikipedia.org
- Usage on ja.wikipedia.org
- Usage on ka.wikipedia.org
- Usage on ko.wikipedia.org
- Usage on ro.wikipedia.org
- Usage on ru.wikipedia.org
- Usage on sh.wikipedia.org
- Usage on sk.wikipedia.org
- Usage on sq.wikipedia.org
- Usage on sr.wikipedia.org
- Usage on uk.wikipedia.org
- Usage on zh.wikipedia.org
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Width | 594.45312pt |
---|---|
Height | 402.18063pt |