From CDOT Wiki
Revision as of 15:49, 30 October 2014 by Tqyu (talk | contribs) (Assignment 1)
Jump to: navigation, search

Calculations of Pi

Team Member

  1. Tony Yu


Assignment 1


The code used is taken from the following site http://www.cplusplus.com/forum/beginner/1149/ with some changes to the code.

This program will calculate pi to a precision based on the value entered by the user. Currently it displays to a precision of 9 decimal places.

Will attempt to figure out a way to calculate to as much decimal places as possible, which should drastically increase the time it takes to run the program. Currrent possible solution is to use the BigNumber library.


The code used is taken from the following site https://helloacm.com/cc-coding-exercise-finding-approximation-of-pi-using-monto-carlo-algorithm/ with some changes to it.

Profile a1.JPG

Assignment 2

Assignment 3