Difference between revisions of "Surface Command"

From GeoGebra Manual
Jump to: navigation, search
Line 3: Line 3:
 
;Surface[  <Expression>, <Expression>, <Expression>, <Parameter Variable 1>, <Start Value>, <End Value>, <Parameter Variable 2>, <Start Value>, <End Value> ]
 
;Surface[  <Expression>, <Expression>, <Expression>, <Parameter Variable 1>, <Start Value>, <End Value>, <Parameter Variable 2>, <Start Value>, <End Value> ]
  
: Yields the Cartesian parametric 3D surface for the given ''x''-expression (first ''<Expression>''), ''y''-expression (second ''<Expression>'') and ''z'' -expression (third ''<Expression>''), using two parameter variables within the given intervals [''<Start Value>'', ''<End Value>''].
+
: Yields the Cartesian parametric 3D surface for the given ''x''-expression (first ''<Expression>''), ''y''-expression (second ''<Expression>'') and ''z''-expression (third ''<Expression>''), using two ''<Parameter Variables>'' within the given intervals [''<Start Value>'', ''<End Value>''].
 
:{{Example|1= Let ''r'' and ''R'' be two positive real numbers: <code><nowiki>Surface[(R + r cos( u)) cos(v) , (R + r cos( u)) sin(v) , r sin(u ), u, 0, 2 π , v, 0, 2 π]</nowiki></code> creates the torus generated by a circle of radius ''r'' whose center rotates about zAxis at a distance ''R''.}}
 
:{{Example|1= Let ''r'' and ''R'' be two positive real numbers: <code><nowiki>Surface[(R + r cos( u)) cos(v) , (R + r cos( u)) sin(v) , r sin(u ), u, 0, 2 π , v, 0, 2 π]</nowiki></code> creates the torus generated by a circle of radius ''r'' whose center rotates about zAxis at a distance ''R''.}}
  

Revision as of 13:23, 9 September 2014


Surface[ <Expression>, <Expression>, <Expression>, <Parameter Variable 1>, <Start Value>, <End Value>, <Parameter Variable 2>, <Start Value>, <End Value> ]
Yields the Cartesian parametric 3D surface for the given x-expression (first <Expression>), y-expression (second <Expression>) and z-expression (third <Expression>), using two <Parameter Variables> within the given intervals [<Start Value>, <End Value>].
Example: Let r and R be two positive real numbers: Surface[(R + r cos( u)) cos(v) , (R + r cos( u)) sin(v) , r sin(u ), u, 0, 2 π , v, 0, 2 π] creates the torus generated by a circle of radius r whose center rotates about zAxis at a distance R.


Note:
  • 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.
© 2024 International GeoGebra Institute