Adam Bernstein
Applied Mathematics and Statistics
at stony brook university
Track: Operations Research
Office: Harrimann Hall 018 Office #4
Email: aberns@ams.sunysb.edu
Hobbies include: Getting my groove on , softball and flying inverted.
Education
B.A. in  Quantitative Economics and  Architectural Studies at  Tufts University
B.S. in  Mathematics at  Stony Brook University
M.A. in Mathematics at Stony Brook University
M.S. in  Applied Mathematics and Statistics
Here is the link to my Approximation of Pi c code.  Enjoy!
To run the code you need compile it by using the command gcc pi.c -o pi -lm
Once that has been entered, then enter ./pi
The code has two methods for finding pi. The arctan series approximation and the Gregory-Leibniz algorithm
|