Difference between revisions of "Curve Command"

From GeoGebra Manual
Jump to: navigation, search
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)")
(command syntax: changed [ ] into ( ))
 
Line 2: Line 2:
 
;Curve( <Expression>, <Expression>, <Parameter Variable>, <Start Value>, <End Value> )
 
;Curve( <Expression>, <Expression>, <Parameter Variable>, <Start Value>, <End Value> )
 
: Yields the Cartesian [[Curves#Parametric curves|parametric curve]] for the given ''x''-expression (first <Expression>) and ''y''-expression (second <Expression>) (using parameter variable) within the given interval [''Start Value'', ''End Value''].
 
: Yields the Cartesian [[Curves#Parametric curves|parametric curve]] for the given ''x''-expression (first <Expression>) and ''y''-expression (second <Expression>) (using parameter variable) within the given interval [''Start Value'', ''End Value''].
:{{Example|1=<code><nowiki>Curve[2 cos(t), 2 sin(t), t, 0, 2π]</nowiki></code> creates a circle with radius ''2'' around the origin of the coordinate system.}}
+
:{{Example|1=<code><nowiki>Curve(2 cos(t), 2 sin(t), t, 0, 2π)</nowiki></code> creates a circle with radius ''2'' around the origin of the coordinate system.}}
 
<br>
 
<br>
 
;Curve( <Expression> , <Expression> , <Expression> , <Parameter Variable> , <Start Value> , <End Value>  )
 
;Curve( <Expression> , <Expression> , <Expression> , <Parameter Variable> , <Start Value> , <End Value>  )
 
: Yields the 3D Cartesian parametric curve for the given ''x''-expression (first <Expression>), ''y''-expression (second <Expression>) and ''z''-expression (third <Expression>) (using parameter variable) within the given interval [''Start Value'', ''End Value''].
 
: Yields the 3D Cartesian parametric curve for the given ''x''-expression (first <Expression>), ''y''-expression (second <Expression>) and ''z''-expression (third <Expression>) (using parameter variable) within the given interval [''Start Value'', ''End Value''].
:{{Example|1=<code><nowiki>Curve[cos(t), sin(t), t, t, 0, 10π]</nowiki></code> creates a 3D spiral.}}
+
:{{Example|1=<code><nowiki>Curve(cos(t), sin(t), t, t, 0, 10π)</nowiki></code> creates a 3D spiral.}}
 
<br>
 
<br>
 
:{{notes|1=<div>
 
:{{notes|1=<div>

Latest revision as of 08:59, 9 October 2017


Curve( <Expression>, <Expression>, <Parameter Variable>, <Start Value>, <End Value> )
Yields the Cartesian parametric curve for the given x-expression (first <Expression>) and y-expression (second <Expression>) (using parameter variable) within the given interval [Start Value, End Value].
Example: Curve(2 cos(t), 2 sin(t), t, 0, 2π) creates a circle with radius 2 around the origin of the coordinate system.


Curve( <Expression> , <Expression> , <Expression> , <Parameter Variable> , <Start Value> , <End Value> )
Yields the 3D Cartesian parametric curve for the given x-expression (first <Expression>), y-expression (second <Expression>) and z-expression (third <Expression>) (using parameter variable) within the given interval [Start Value, End Value].
Example: Curve(cos(t), sin(t), t, t, 0, 10π) creates a 3D spiral.


Notes:
© 2024 International GeoGebra Institute