Difference between revisions of "FitSin Command"

From GeoGebra Manual
Jump to: navigation, search
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>
 
<noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>
 
{{command|statistics}}
 
{{command|statistics}}
; FitSin[List of Points]: Calculates the regression curve in the form ''a + b sin(cx + d)''.
+
;FitSin[ <List of Points> ]
: {{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.}}
+
:Calculates the regression curve in the form ''a + b sin(cx + d)''.
==CAS Specific Syntax==
+
:{{example| 1=<div><code><nowiki>FitSin[{(0, 1), (2, 4)}]</nowiki></code> gives ''ℯ<sup>0.69x</sup>''.</div>}}
In [[CAS View]] the same syntax as above can be used.
+
{{note| 1=<div>
; FitSin[List of Points]: Calculates the regression curve in the form ''a + b sin(cx + d)''.
+
*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 [[FitLog Command]], [[FitPoly Command]], [[FitPow Command]] and [[FitSin Command]].
 +
</div>}}
 +
==CAS Syntax==
 +
;FitSin[ <List of Points> ]
 +
:Calculates the regression curve in the form ''a + b sin(cx + d)''.
 +
:{{example| 1=<div><code><nowiki>FitSin[{(0, 4), (1, 0), (2, -4), (3, 0)}]</nowiki></code> gives ''ℯ<sup>0.69x</sup>''.</div>}}
 +
{{note| 1=<div>
 +
*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 [[FitLog Command]], [[FitPoly Command]], [[FitPow Command]] and [[FitSin Command]].
 +
</div>}}

Revision as of 15:18, 5 August 2011


FitSin[ <List of Points> ]
Calculates the regression curve in the form a + b sin(cx + d).
Example:
FitSin[{(0, 1), (2, 4)}] gives 0.69x.
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 FitLog Command, FitPoly Command, FitPow Command and FitSin Command.

CAS Syntax

FitSin[ <List of Points> ]
Calculates the regression curve in the form a + b sin(cx + d).
Example:
FitSin[{(0, 4), (1, 0), (2, -4), (3, 0)}] gives 0.69x.
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 FitLog Command, FitPoly Command, FitPow Command and FitSin Command.
© 2024 International GeoGebra Institute