0

How do you calculate pi?

I thought it would be fun to find the digits of pi, but I don’t know how.

28th Jul 2022, 12:20 AM
Dait1
 Dait1 - avatar
2 Answers
0
Well, I think there are some built in functions for that. In any case in maths we have series for such approximations. Google "Wallis's Product". It would be a bit tricky explaining it here. You can translate that equation into code.
8th Aug 2022, 8:38 PM
Bonsai
Bonsai - avatar