Zhao Youqin's π algorithm

From testwiki
Jump to navigation Jump to search
Zhao Youqin's Template:Pi algorithm
A page from Zhao Youqin's book Ge Xiang Xin Shu vol 5

Zhao Youqin's Template:Pi algorithm is an algorithm devised by Yuan dynasty Chinese astronomer and mathematician Zhao Youqin (Template:Lang, ? – 1330) to calculate the value of [[Pi|Template:Pi]] in his book Ge Xiang Xin Shu (Template:Lang).

Algorithm

Zhao Youqin started with an inscribed square in a circle with radius r.[1]

If denotes the length of a side of the square, draw a perpendicular line d from the center of the circle to side l. Let e denotes r − d. Then from the diagram:

d=r2(2)2
e=rd=rr2(2)2.

Extend the perpendicular line d to dissect the circle into an octagon; 2 denotes the length of one side of octagon.

2=(2)2+e2
2=122+4(r124r22)2

Let l3 denotes the length of a side of hexadecagon

3=1222+4(r124r222)2

similarly

n+1=12n2+4(r124r2n2)2

Proceeding in this way, he at last calculated the side of a 16384-gon, multiplying it by 16384 to obtain 3141.592 for a circle with diameter = 1000 units, or

π=3.141592.

He multiplied this number by 113 and obtained 355. From this he deduced that of the traditional values of Template:Pi, that is 3, 3.14, Template:Sfrac and Template:Sfrac, the last is the most exact.[2]

See also

  • [[Liu Hui's π algorithm|Liu Hui's Template:Pi algorithm]]

References

  1. Yoshio Mikami, Development of Mathematics in China and Japan, Chapter 20, The Studies about the Value of Template:Pi etc., pp 135–138
  2. Yoshio Mikami, p136