Difference between revisions of "DPS915/CodeKirin"

From CDOT Wiki
Jump to: navigation, search
(Assignment 1)
(Assignment 1)
Line 10: Line 10:
 
The code used is taken from the following site http://www.cplusplus.com/forum/beginner/1149/ with some changes to the code.
 
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.  
+
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.  
  
 
[[File:Profile_a1.JPG]]
 
[[File:Profile_a1.JPG]]

Revision as of 14:52, 3 October 2014

Calculations of Pi

Team Member

  1. Tony Yu

Progress

Assignment 1

Findings

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.

Profile a1.JPG

Assignment 2

Assignment 3