Gistlib Logo

gistlib

other ruby categories

regular-polygon code snippets in ruby

find the surface area 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 triangular prism in ruby

gistlibby LogSnag