Happy Pi Day!
March 14, 2015 at 9:45 am Leave a comment
It’s Pi day and it’s a once-every-hundred-years Pi day! It’s a spceial Pi day since the year ends in 15. So the date: 3-14-15, matches the number Pi to four decimal places: 3.1415.
Kash Farooq has provided a nice set blog posts showing different methods for calculating Pi using C#. Here they are:
Calculating Pi in C# part 1 – using series algorithms
Calculating Pi in C# part 2 – using the .NET BigInteger class
Calculating Pi in C# part 3 – using the BigRational class.
Entry filed under: Programming. Tags: C#, dotNET, programming.
Trackback this post | Subscribe to the comments via RSS Feed