Difference between revisions of "FitExp Command"

From GeoGebra Manual
Jump to: navigation, search
(change example)
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
;FitExp( <List of Points> )
 
;FitExp( <List of Points> )
 
:Calculates the exponential regression curve in the form ''aℯ<sup>bx</sup>''.
 
:Calculates the exponential regression curve in the form ''aℯ<sup>bx</sup>''.
:{{example| 1=<code><nowiki>FitExp({(0, 1), (2, 4)})</nowiki></code> yields ''<sup>0.69x</sup>''.}}
+
:{{example| 1=<code><nowiki>FitExp({(0, 1), (2, 3), (4, 3), (6, 4)})</nowiki></code> yields ''1.31ℯ<sup>0.21x</sup>''.}}
  
 
{{note| 1=<div>
 
{{note| 1=<div>
 
*If you want the answer in the form <math> a b ^ x </math> then use the  [[FitGrowth Command]].
 
*If you want the answer in the form <math> a b ^ x </math> then use the  [[FitGrowth Command]].
 +
* You can do a direct least-squares fitting with <code>Fit(list, a*exp(b*x))</code>
 
*Euler's number ℯ can be obtained by pressing {{KeyCode|ALT + e}}.
 
*Euler's number ℯ can be obtained by pressing {{KeyCode|ALT + e}}.
 
*See also [[Fit Command|Fit]], [[FitGrowth Command|FitGrowth]], [[FitLine Command|FitLine]], [[FitLineX Command|FitLineX]], [[FitLog Command|FitLog]], [[FitLogistic Command|FitLogistic]], [[FitPoly Command|FitPoly]], [[FitPow Command|FitPow]] and [[FitSin Command|FitSin]].
 
*See also [[Fit Command|Fit]], [[FitGrowth Command|FitGrowth]], [[FitLine Command|FitLine]], [[FitLineX Command|FitLineX]], [[FitLog Command|FitLog]], [[FitLogistic Command|FitLogistic]], [[FitPoly Command|FitPoly]], [[FitPow Command|FitPow]] and [[FitSin Command|FitSin]].
* If you work with big/small numbers, you should consider normalizing them for a more accurate result, see  [[Normalize Command]].
 
 
</div>}}
 
</div>}}

Latest revision as of 23:26, 21 November 2023


FitExp( <List of Points> )
Calculates the exponential regression curve in the form aℯbx.
Example: FitExp({(0, 1), (2, 3), (4, 3), (6, 4)}) yields 1.31ℯ0.21x.


Note:
© 2024 International GeoGebra Institute