Gistlib Logo

gistlib

other ruby categories

polygons code snippets in ruby

find the area of a regular polygon 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 triangular prism 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 pyramid 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 pyramid in ruby

gistlibby LogSnag