image image image  
Free Educational iPhone Apps.  Available on the App Store.
SpaceTime 4.0.  Scientific computing in the palm of your hand.
 Home  Manual  Graphbook  Buy  Members  Forums  Support 
spacetime32  
Catalog  | 
 | 
      
 

Algebra
Apart, Coefficient, Degree, Denominator, Divisors, Eval, Expand, Factor, GCD, LCM, PolyDivide, PolyFit, PolyGCD, PolyLCM, Quotient, Remainder, Sequence, SimplifyPoly, Solve, SolveSystem, Together

Basic
Abs, Arg, Conj, Exp, Hyperbolic Functions, Im, Ln, Log, Re, Trigonometric Functions

Calculus
D, Diff, DSolve, fDiff, FourierCos, FourierSeries, FourierSin, iDiff, iLaplace, Integrate, Laplace, Limit, NIntegrate, pDiff, Product, Series, Sum

CAS
Call, Caps, Char, Choose, Clear, Date, Delete, Extract, Function, Insert, Left, List, Matrix, Part, Replace, Reverse, Size, Sort, String, Value, Variables

Data
Constant, Finance, LoadList, LoadMatrix, Table

Elementary
Binomial, Ceil, Eulerian, Factorial, Floor, fPart, iPart, Mod, Multinomial, nCr, nPr, nRoot, Pochhammer, Round, Sign, Sqrt

Graphing
clip, FullRectSineWave, HalfRectSineWave, SawToothWave, SquareWave, StaircaseWave, TriangleWave

Manual
Code Files, Commands, Creating Scripts, Entering Expressions, Graphing Equations, Include Folder, Lists, Matrices, Right, Strings, Symbols, Time Graphing

Matrix
Cholesky, Det, Eigenvalues, Eigenvectors, Identity, Inverse, QR, RowReduce, SVD, Transpose

Number
AlternatingSeries, Catalan, cFrac, Convergents, LegendreP, nFactors, nPrimes, Pi_Digits, Random

Plot
BodePlot, ContourPlot, CylindricalPlot3D, FractalPlot, ImagePlot, ImplicitPlot, JuliaPlot, ListPlot, ListPlot3D, MultiPlot, MultiPlot3D, ParametricPlot, ParametricPlot3D, Plot, Plot3D, PolarPlot, SphericalPlot3D, VectorPlot, VectorPlot3D

Scripting
Animate, CheckBox, Draw, DrawColor, DrawWindow, Else If, Error, If, Include, Loop, Message, Scroll, Trace, While

Special
AiryAi, AiryBi, BesselI, BesselJ, BesselK, BesselY, Beta, Chi, Ci, Dawson, Dirichlet_Eta, Dirichlet_Lambda, Ei, Erf, Erfc, FresnelCos, FresnelSin, Gamma, Gudermannian, HankelH1, HankelH2, Harmonic, Hypergeom_2F1, invGudermannian, KelvinBei, KelvinBer, KelvinKei, KelvinKer, LambertW, Li, LnGamma, PolyGamma, PolyLog, Psi, Shi, Si, Zeta

Special Polynomials
Bernoulli, ChebyshevT, ChebyshevU, Euler, Fibonacci, GegenbauerC, HermiteH, LaguerreL, LegendreQ, Lucas

Statistical
BinomialCDF, BinomialPDF, ChiSquareCDF, ChiSquarePDF, Fcdf, Fpdf, GeoCDF, GeoPDF, InverseNormal, Max, Mean, Min, NormalCDF, NormalPDF, PoissonCDF, PoissonPDF, StandardDeviation, StudentTCDF, StudentTPDF, Variance

Trigonometric
DEGtoDMS, ExpConvert, TrigCollect, TrigConvert, TrigExpand, TrigReduce

Vector Calculus
Angle, Cross, Curl, Divergence, Dot, Duf, Gradient, Hessian, Jacobian, Laplacian, Norm, SurfaceNormal

  
PolyFit(pList, var)
pList
A list with datapoints given in a [N,2] matrix. This list should be greater than 1 and less than 11.

var
Optional variable for the returned polynomial. If not given, then var=x.

Finds a unique polynomial function of order N-1 through the given N data points.

Examples  
Finds the line between the point [1,3] and [5,7]


Finds the parabolic curve through the points [2,4], [3,1], [5,7]


Finds the cubic curve through the points [0,1], [2,5], [3,4], [5,7]


References
http://mathworld.wolfram.com/LagrangeInterpolatingPolynomial...
http://en.wikipedia.org/wiki/Lagrange_polynomial



Copyright © 2010 Pomegranate Software.  All rights reserved.

Palm Palm OS 5
      
Smartphone Smartphone

About Us   SpaceTime Newsletter   Follow SpaceTimeUs   Windows Mobile   RSS Feed