Difference between revisions of "Surface Command"

From GeoGebra Manual
Jump to: navigation, search
(command syntax: changed [ ] into ( ))
 
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|3D}}
 
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|3D}}
;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''.}}
  
 
:{{note|1=<div>
 
:{{note|1=<div>
Line 9: Line 9:
 
:*''x, y'' and ''z'' are not allowed as  parameter variables.</div>}}
 
:*''x, y'' and ''z'' are not allowed as  parameter variables.</div>}}
  
;Surface[ <Function>, <Angle> ]
+
;Surface( <Function>, <Angle> )
 
:Creates a surface of revolution, rotating the given ''Function'' from 0 to given ''Angle'' around the x-axis.
 
:Creates a surface of revolution, rotating the given ''Function'' from 0 to given ''Angle'' around the x-axis.
  
;Surface[<Curve>, <Angle>, <Line>]
+
;Surface( <Curve>, <Angle>, <Line>)
 
:Creates a surface of revolution, rotating the ''Curve'' from 0 to given ''Angle'' around the ''Line''.
 
:Creates a surface of revolution, rotating the ''Curve'' from 0 to given ''Angle'' around the ''Line''.

Latest revision as of 13:07, 30 September 2017


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.
Surface( <Function>, <Angle> )
Creates a surface of revolution, rotating the given Function from 0 to given Angle around the x-axis.
Surface( <Curve>, <Angle>, <Line>)
Creates a surface of revolution, rotating the Curve from 0 to given Angle around the Line.
© 2024 International GeoGebra Institute