PI constant

Post Reply
User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

PI constant

Post by Mr. Kibernetik »

Can be calculated as:

Code: Select all

pi = imag(ln(-1))
print ".###############":pi
or as:

Code: Select all

pi = 2*acos(0)

Post Reply