; The following is the equation for a torus (donut) in 3D Cartesian space.
; "c" is the distance from the center of the hole
; to the center of the tube (major radius).
; "a" is the radius of the tube (minor radius).
(c-(x^2+y^2)^.5)^2+z^2 = a^2
y
;
; The following is the formula to compute the surface area of the torus:
a1 = 2pi*(c+a)*(c-a) ; "a1" is the area.
;
; "v" = Volume of the torus:
v = 1/4*pi^2*(a+c)*(c-a)^2
