Difference between revisions of "Curve Command"
From GeoGebra Manual
Line 3: | Line 3: | ||
; Curve[Expression e1, Expression e2, Parameter t, Number a, Number b]: Yields the Cartesian [[Curves#Parametric curves|parametric curve]] for the given ''x''-expression ''e1'' and ''y''-expression ''e2'' (using parameter ''t'') within the given interval [''a'', ''b'']. | ; Curve[Expression e1, Expression e2, Parameter t, Number a, Number b]: Yields the Cartesian [[Curves#Parametric curves|parametric curve]] for the given ''x''-expression ''e1'' and ''y''-expression ''e2'' (using parameter ''t'') within the given interval [''a'', ''b'']. | ||
{{Example|1=Input of <code><nowiki>c = Curve[2 cos(t), 2 sin(t), t, 0, 2 pi]</nowiki></code> creates a circle with radius 2 around the origin of the coordinate system.}} | {{Example|1=Input of <code><nowiki>c = Curve[2 cos(t), 2 sin(t), t, 0, 2 pi]</nowiki></code> creates a circle with radius 2 around the origin of the coordinate system.}} | ||
− | {{note|Number ''b'' must be greater than or equal to number ''a'' | + | {{note|Number ''b'' must be greater than or equal to number ''a'' and both must be finite}} |
{{note|''x'' is not allowed as a parameter variable}} | {{note|''x'' is not allowed as a parameter variable}} | ||
See [[Curves]] for details. | See [[Curves]] for details. |
Revision as of 22:20, 1 November 2011
- 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].
Example: Input of
c = Curve[2 cos(t), 2 sin(t), t, 0, 2 pi]
creates a circle with radius 2 around the origin of the coordinate system. Note: Number b must be greater than or equal to number a and both must be finite
Note: x is not allowed as a parameter variable
See Curves for details.