Difference between revisions of "Surface Command"

From GeoGebra Manual
Jump to: navigation, search
(torus)
Line 9: Line 9:
 
:*Let, ''r'' and ''R'', two positive real,
 
:*Let, ''r'' and ''R'', two positive real,
 
::<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>
 
::<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'' which rotates about  zAxis at a distance ''R''.</div>}}
+
::creates the torus generated by a circle of radius ''r'' which center rotates about  zAxis at a distance ''R''.</div>}}
  
  

Revision as of 19:44, 9 June 2013


Surface[ <Expression a>, <Expression b>, <Expression c>, <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 a, y-expression b and z -expression c, using two parameter variables within the given intervals [Start Value, End Value].
Example:
  • Surface[2 sin(t) * sin(v), sin(v), cos(v), t, 0, 2π, v, -π, π]
creates the related surface in Graphics View 3D.
  • Let, r and R, two positive real,
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 which 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