close
這是一個用三角形面積 近似 圓面積 做出來的計算機...


給的數值越大( 半徑、三角形數量 ),算的就越精確
如果你的電腦很閒,可以讓他跑跑看 XD !!

[ 按我下載 ]

[ English Version ]




圓周率
Pi

圓形的公式 => X^2 + Y^2 = r^2
The one of the formula of round => X^2 + Y^2 = r^2

(r是半徑) (r is the radius of the round)

找出每一個可能的整數 X 和 Y
Find every possible x and y , x and y are integers

然後每一對 X 和 Y ,和原點 0 成一個等腰三角形
Then, every pair of x and y forms a triangle with 0

計算出每一個等腰三角形的面積  然後加起來
Calculate the area of each triangles. Add them up.

之後再把結果乘以四 (因為有四個象限)
Multiply the reslut with 4 (there are four quadrants)

再除以 直徑的平方
then Divide it with the square of diameter.

就會得到 粗略的圓周率
You'll get the rough pi.








arrow
arrow
    全站熱搜

    finalfrank 發表在 痞客邦 留言(2) 人氣()