RubyFlow The Ruby and Rails community linklog

Pi 4 ways with Ruby

I recorded this a couple of weeks ago, based on examples I showed my high school class on how to calculate the value of pi. This shows 4 different algorithms for calculating pi in Ruby. There is an accompanying github project so you can run all the code yourself.

Happy belated pi day! (And yes, the countdown at the beginning was recorded during the actual value of pi on pi day).

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in