FitSin Command
From GeoGebra Manual
Revision as of 21:39, 8 August 2011 by Christina.biermair (talk | contribs)
- FitSin[ <List of Points> ]
- Calculates the regression curve in the form a + b sin(cx + d).
- Example:
FitSin[{(1, 1), (2, 2), (3, 1), (4, 0), (5, 1), (6, 2)}]
gives 1 + sin(1.5708x - 1.5708).
Note:
- The list should have at least 4 points, preferably more. The list should cover at least two extremal points. The first two local extremal points should not be too different from the absolute extremal points of the curve.
- See also FitExp Command, FitLog Command, FitPoly Command and FitPow Command.
CAS Syntax
- FitSin[ <List of Points> ]
- Calculates the regression curve in the form a + b sin(cx + d).
- Example:
FitSin[{(1, 1), (2, 2), (3, 1), (4, 0), (5, 1), (6, 2)}]
gives 1 + sin(1.5708x - 1.5708).