geometry code snippets in ruby

find the area of a parallelogram in ruby
find the area of a regular polygon in ruby
find the area of a regular polygon circumscribed around a circle in ruby
find the area of a regular polygon inscribed in a circle in ruby
find the area of a sector of a circle in ruby
find the area of a segment of a circle in ruby
find the area of a triangle in ruby
find the distance between two points in ruby
find the midpoint between two points in ruby
find the slope between two points in ruby
find the surface area of a cone in ruby
find the surface area of a pyramid in ruby
find the surface area of a rectangular prism in ruby
find the surface area of a regular polygon circumscribed around a cone in ruby
find the surface area of a regular polygon circumscribed around a cylinder in ruby
find the surface area of a regular polygon circumscribed around a pyramid in ruby
find the surface area of a regular polygon circumscribed around a sphere in ruby
find the surface area of a regular polygon circumscribed around a triangular prism in ruby
find the surface area of a regular polygon inscribed in a cone in ruby
find the surface area of a regular polygon inscribed in a cylinder in ruby
find the surface area of a regular polygon inscribed in a pyramid in ruby
find the surface area of a regular polygon inscribed in a sphere in ruby
find the surface area of a regular polygon inscribed in a triangular prism in ruby
find the surface area of a triangular prism in ruby
find the volume of a cone in ruby
find the volume of a cube in ruby
find the volume of a pyramid in ruby
find the volume of a regular polygon circumscribed around a cone in ruby
find the volume of a regular polygon circumscribed around a cylinder in ruby
find the volume of a regular polygon circumscribed around a pyramid in ruby
find the volume of a regular polygon circumscribed around a sphere in ruby
find the volume of a regular polygon circumscribed around a triangular prism in ruby
find the volume of a regular polygon inscribed in a cone in ruby
find the volume of a regular polygon inscribed in a cylinder in ruby
find the volume of a regular polygon inscribed in a pyramid in ruby
find the volume of a regular polygon inscribed in a sphere in ruby
find the volume of a regular polygon inscribed in a triangular prism in ruby
find the volume of a sphere in ruby

gistlibby LogSnag