Midpoint of a Line Segment:
[(x1 + x2)/2, (y1 + y2)/2, (z1 + z2)/2]
For 2D applications, the Z terms drop out.
Circle: Circle Sector: Triangle: A = Pi*r^2 A = (1/2)*t*r^2 A = (1/2)*b*h C = 2*Pi*r s = r*t A = (1/2)*a*b*sin(t) For the triangle, a and b are 2 sides, t is the angle included between a and b. Sphere: Cone: Cylinder: V = (4/3)*Pi*r^3 V = (1/3)*b*h V = Pi*r^2*h A = 4*Pi*r^3 A = 2*Pi*r^2 + 2*Pi*r*hh is the distance from bottom to top, represented by a line perpendicular to the base. For the cylinder, the base and top must be parallel.
Back to Jeff's Math Page
Back to Jeff's Manual Override
This page was last updated created September 17, 1996.