I was inspired to write the code for this application for my love of mathematics.

What it does

This program requests of the user how many digits they would like to calculate the mathematical constant pi to, then returns that value to the screen as a String for the user to see.

How we built it

I built this application using the Java programming language.

Challenges we ran into

I ran into the challenge of figuring out how to separate each individual digit of the constant itself in order to be printed to the screen.

Accomplishments that we're proud of

I am proud of creating a working application that mathematicians may use as they see fit.

What we learned

I learned how account for extra characters when printing a string from a pre-determined list.

What's next for Calculate Pi in Digits

I could expand on this application to account for other mathematical constants, including the natural constant, 'e'.

Built With

Share this project: