Difference between revisions of "FitSin Command"
From GeoGebra Manual
(added v4 - note formatting) |
(* If you work with big/small numbers, you should consider normalizing them for a more accurate result, see Normalize Command.) |
||
(18 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version= | + | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|statistics}} |
− | {{command|statistics}} | + | ;FitSin( <List of Points> ) |
− | ; FitSin | + | :Calculates the regression curve in the form ''a + b sin (c x + d)''. |
− | : {{ | + | :{{example| 1=<code><nowiki>FitSin({(1, 1), (2, 2), (3, 1), (4, 0), (5, 1), (6, 2)})</nowiki></code> yields ''f(x) = 1 + 1 sin (1.57 x - 1.57)''.}} |
+ | |||
+ | {{note| 1=<div> | ||
+ | *The list should have at least four 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]]. | ||
+ | * If you work with big/small numbers, you should consider normalizing them for a more accurate result, see [[Normalize Command]]. | ||
+ | </div>}} |
Latest revision as of 11:41, 4 February 2019
- FitSin( <List of Points> )
- Calculates the regression curve in the form a + b sin (c x + d).
- Example:
FitSin({(1, 1), (2, 2), (3, 1), (4, 0), (5, 1), (6, 2)})
yields f(x) = 1 + 1 sin (1.57 x - 1.57).
Note:
- The list should have at least four 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.
- If you work with big/small numbers, you should consider normalizing them for a more accurate result, see Normalize Command.