Difference between revisions of "Curve Command"

From GeoGebra Manual
Jump to: navigation, search
(create official page from pdf)
 
(command syntax: changed [ ] into ( ))
 
(25 intermediate revisions by 9 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|function}}
 
+
;Curve( <Expression>, <Expression>, <Parameter Variable>, <Start Value>, <End Value> )
; Curve[Expression e1, Expression e2, Parameter t, Number a, Number b]: Yields the Cartesian parametric curve for the given ''x''-expression ''e1'' and ''y''-expression ''e2'' (using parameter ''t'') within the given interval [''a'', ''b''].
+
: 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: Input of <tt>c = Curve[2 cos(t), 2 sin(t), t, 0, 2 pi]</tt> 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>
<div class="note">'''Note:'''
+
;Curve( <Expression> , <Expression> , <Expression> , <Parameter Variable> , <Start Value> , <End Value> )
* Parametric curves can be used with pre-defined functions and arithmetic operations.  For example, input <tt>c(3)</tt> returns the point at parameter position 3 on curve ''c''.  
+
: 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''].
* Note: Using the mouse you can also place a point on a curve using tool [[New Point Tool|New Point]] or command [[Point Command|Point]]. Since the endpoints ''a'' and ''b'' are dynamic you can use slider variables as well (see tool [[Slider Tool|Slider]]).
+
:{{Example|1=<code><nowiki>Curve(cos(t), sin(t), t, t, 0, 10π)</nowiki></code> creates a 3D spiral.}}
 +
<br>
 +
:{{notes|1=<div>
 +
:*''End Value'' must be greater than or equal to ''Start Value'' and both must be finite.
 +
:*''x'', ''y'' and ''z'' are not allowed as parameter variables.
 +
:*See [[Curves]] for details, also see the [[Derivative_Command| Derivative Command]] and the [[ParametricDerivative_Command|Parametric Derivative Command]].</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