Geometry
The Graphics command generates all kinds of 2D shapes:
Out[1]= | ![](Files/index-io-1-o.gif.en) |
Many geometric objects take a series of coordinates (lists) as arguments:
Out[2]= | ![](Files/index-io-2-o.gif.en) |
Pass in a list with directives to combine graphics and change their styles:
Out[3]= | ![](Files/index-io-3-o.gif.en) |
Generate triangles with commands like SASTriangle:
(Type ESCdegESC for the °
symbol.)
Out[1]= | ![](Files/index-io-4-o.gif.en) |
Properties like area can be computed directly:
Out[2]= | ![](Files/index-io-5-o.gif.en) |
Pass this expression into Graphics:
Out[3]= | ![](Files/index-io-6-o.gif.en) |
Similarly, you can use Graphics3D to display 3D objects:
Out[1]= | ![](Files/index-io-7-o.gif.en) |
Calculate volume and other properties:
(With no arguments given, a cylinder has a radius of 1 and a height of 2.)
Out[2]= | ![](Files/index-io-8-o.gif.en) |
You can also find formulas and other information using natural-language input:
Out[3]= | ![](Files/index-io-9-o.gif.en) |