Difference between revisions of "CurvatureVector Command"

From GeoGebra Manual
Jump to: navigation, search
(repeated description: fixed)
Line 8: Line 8:
 
:{{example|1=<code><nowiki>CurvatureVector[(0, 0), Curve[cos(t), sin(2t), t, 0, π]]</nowiki></code> yields vector ''(0, 0)''.}}
 
:{{example|1=<code><nowiki>CurvatureVector[(0, 0), Curve[cos(t), sin(2t), t, 0, π]]</nowiki></code> yields vector ''(0, 0)''.}}
  
{{betamanual|version=5.0|{{Note|1=From GeoGebra 5, this command will work with conics as well.
+
{{betamanual|version=5.0|{{Note|1=From GeoGebra 5, this command will work with conics as well.}}
}}}}
 
 
;CurvatureVector[ <Point>, <Object> ]
 
;CurvatureVector[ <Point>, <Object> ]
:Yields the curvature vector of the object (function, curve, conic) in the given point.
+
: Yields the curvature vector of the object (function, curve, conic) in the given point.
*'''CurvatureVector[ <Point>, <Function> ]''': Yields the curvature vector of the function in the given point.
+
:{{examples|1=<div>
:{{example|1=<code><nowiki>CurvatureVector[(0 ,0), x^2]</nowiki></code> yields vector ''(0, 2)''.}}
+
:*<code><nowiki>CurvatureVector[(0 ,0), x^2]</nowiki></code> yields vector ''(0, 2)''
*'''CurvatureVector[ <Point>, <Curve> ]''': Yields the curvature vector of the curve in the given point.
+
:*<code><nowiki>CurvatureVector[(1, 0), Curve[cos(t), sin(2t), t, 0, ]]</nowiki></code> yields vector ''(0, 0)''
:{{example|1=<code><nowiki>CurvatureVector[(0, 0), Curve[cos(t), sin(2t), t, 0, π]]</nowiki></code> yields vector ''(0, 0)''.}}
+
:*<code><nowiki>CurvatureVector[(-1, 0), Conic[{1, 1, 1, 2, 2, 3}]]</nowiki></code> yields vector ''(0, -2)''</div>}}
*'''CurvatureVector[ <Point>, <Conic> ]''': Yields the curvature vector of the conic in the given point.
+
}}
:{{example|1=<code><nowiki>CurvatureVector[(-1 ,0), Conic[{1, 1, 1, 2, 2, 3}]]</nowiki></code> yields vector ''(0, -2)''.}}
 

Revision as of 12:00, 1 August 2014



CurvatureVector[ <Point>, <Function> ]
Yields the curvature vector of the function in the given point.
Example: CurvatureVector[(0,0), x^2] yields vector (0, 2).
CurvatureVector[ <Point>, <Curve> ]
Yields the curvature vector of the curve in the given point.
Example: CurvatureVector[(0, 0), Curve[cos(t), sin(2t), t, 0, π]] yields vector (0, 0).


© 2024 International GeoGebra Institute