Skeda:Lagrange polynomial.svg

Page contents not supported in other languages.
Nga Wikipedia, enciklopedia e lirë

Dokument origjinal(skedë SVG, fillimisht 743 × 503 pixel, madhësia e skedës: 85 KB)

Kjo skedë është prej Wikimedia Commons dhe mund të përdoret nga projekte të tjera. Përshkrimi në këtë skedë në këtë faqe nuk është treguar më poshtë. Shko tek faqja përshkruese në Commons Shko tek faqja përshkruese në Commons

Përmbledhje

Përshkrimi
English:
 
This W3C-unspecified diagram was created with Mathematica.
This image shows, for four points ((−9, 5), (−4, 2), (−1, −2), (7, 9)), the (cubic) interpolation polynomial L(x) (dashed, black), which is the sum of the scaled basis polynomials y1ℓ1(x), y2ℓ2(x), y3ℓ3(x) and y4ℓ4(x) (colors). The interpolation polynomial passes through all four control points, and each scaled basis polynomial passes through its respective control point and is 0 where x corresponds to the other three control points.
Data
Burimi Self-made, based on Image:Lagrangepolys.png
Autori User:Glosser.ca
Versione tjera Image:Lagrangepolys.png

Source

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
]

Licencim

Unë, krijuesi i kësaj pune, e publikoj këtu në bazë të licensës në vijim:
GNU head Ju jepet leje për ta kopjuar, shpërndarë dhe/ose ndryshuar këtë dokument sipas kushteve të Licencës GNU për Dokumentim të Lirë, versioni 1.2 ose çfarëdo versioni të mëpasshëm të botuar nga Free Software Foundation; pa Seksione të Pandryshueshme, pa Tekste Kapakësh të Përparmë, dhe pa Tekste Kapakësh të Pasmë. Një kopje e kësaj licence është përfshirë në seksionin e titulluar GNU Free Documentation License.
w:sq:Creative Commons
atribuim share alike
Kjo skedë licencohet sipas Creative Commons Attribution-Share Alike 3.0 Unported.
Je i lirë të:
  • ta shpërndani – ta kopjoni, rishpërndani dhe përcillni punën
  • t’i bëni “remix” – të përshtatni punën
Sipas kushteve të mëposhtme:
  • atribuim – Duhet t’i jepni meritat e duhura, të siguroni një lidhje për tek licenca dhe të tregoni nëse janë bërë ndryshime. Këtë mund ta bëni në ndonjë mënyrë të arsyeshme, por jo në ndonjë mënyrë që sugjeron se licencuesi ju del zot juve apo përdorimit tuaj.
  • share alike – Nëse bëni një “remix”, e shndërroni, ose ndërtoni duke u bazuar te materiali, duhet t’i shpërndani kontributet tuaja sipas të njëjtës licencë ose një të tille të përputhshme me origjinalen.
Kjo etiketë licencimi u shtua te kjo skedë si pjesë e përditësimit të lincecimit. GFDL.
Mundeni të përzgjidhni licencën që doni.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

përshkruan

26 dhjetor 2015

Historiku skedës

Shtypni mbi një datë/kohë për ta parë skedën siç ishte atëherë.

Data/KohaMiniaturëPërmasatPërdoruesiKoment
e tanishme23 prill 2016 20:29Miniaturë për versionin duke filluar nga 23 prill 2016 20:29743 × 503 (85 KB)RayhemSwapped axis for frame; added legend.
26 dhjetor 2015 18:01Miniaturë për versionin duke filluar nga 26 dhjetor 2015 18:01449 × 278 (62 KB)RayhemAdded major ticks to axis, removed some of the top/bottom whitespace
2 janar 2009 15:07Miniaturë për versionin duke filluar nga 2 janar 2009 15:07391 × 390 (100 KB)Renamed user KdYpUvMgT
20 dhjetor 2008 22:01Miniaturë për versionin duke filluar nga 20 dhjetor 2008 22:01391 × 390 (101 KB)Renamed user KdYpUvMgT{{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

Këto faqe lidhen tek kjo skedë:

Përdorimi global i skedës

Kjo skedë përdoret nga Wiki të tjera në vijim:

Metadata