Difference between revisions of "Curvature Command"

From GeoGebra Manual
Jump to: navigation, search
(command syntax: changed [ ] into ( ))
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.2}}</noinclude>{{command|other}}
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|other}}
;Curvature[ <Point>, <Function> ]
+
;Curvature( <Point>, <Function> )
 
: Calculates the curvature of the function in the given point.
 
: Calculates the curvature of the function in the given point.
:{{example|1=<code><nowiki>Curvature[(0 ,0), x^2]</nowiki></code> yields ''2''.}}
+
:{{example|1=<code><nowiki>Curvature((0 ,0), x^2)</nowiki></code> yields ''2''.}}
;Curvature[ <Point>, <Curve> ]
+
;Curvature( <Point>, <Curve> )
 
: Calculates the curvature of the curve in the given point.
 
: Calculates the curvature of the curve in the given point.
:{{example|1=<code><nowiki>Curvature[(0, 0), Curve[cos(t), sin(2t), t, 0, π]]</nowiki></code> yields ''0''.}}
+
:{{example|1=<code><nowiki>Curvature((0, 0), Curve(cos(t), sin(2t), t, 0, π))</nowiki></code> yields ''0''.}}
 
+
;Curvature( <Point>, <Object> )
{{betamanual|version=5.0|{{Note|1=From GeoGebra 5, this command will work with conics as well.}}
 
;Curvature[ <Point>, <Object> ]
 
 
: Yields the curvature of the object (function, curve, conic) in the given point.
 
: Yields the curvature of the object (function, curve, conic) in the given point.
 
:{{examples|1=<div>
 
:{{examples|1=<div>
:*<code><nowiki>Curvature[(0 ,0), x^2]</nowiki></code> yields  ''2''
+
:*<code><nowiki>Curvature((0 ,0), x^2)</nowiki></code> yields  ''2''
:*<code><nowiki>Curvature[(0, 0), Curve[cos(t), sin(2t), t, 0, π]]</nowiki></code> yields ''0''
+
:*<code><nowiki>Curvature((0, 0), Curve(cos(t), sin(2t), t, 0, π))</nowiki></code> yields ''0''
:*<code><nowiki>Curvature[(-1, 0), Conic[{1, 1, 1, 2, 2, 3}]]</nowiki></code> yields ''2''</div>}}
+
:*<code><nowiki>Curvature((-1, 0), Conic({1, 1, 1, 2, 2, 3}))</nowiki></code> yields ''2''</div>}}
}}
 

Latest revision as of 08:53, 9 October 2017


Curvature( <Point>, <Function> )
Calculates the curvature of the function in the given point.
Example: Curvature((0 ,0), x^2) yields 2.
Curvature( <Point>, <Curve> )
Calculates the curvature of the curve in the given point.
Example: Curvature((0, 0), Curve(cos(t), sin(2t), t, 0, π)) yields 0.
Curvature( <Point>, <Object> )
Yields the curvature of the object (function, curve, conic) in the given point.
Examples:
  • Curvature((0 ,0), x^2) yields 2
  • Curvature((0, 0), Curve(cos(t), sin(2t), t, 0, π)) yields 0
  • Curvature((-1, 0), Conic({1, 1, 1, 2, 2, 3})) yields 2
© 2024 International GeoGebra Institute