This is a page from a manuscript of the *Lilavati* of Bhaskara II (1114-1185). This manuscript dates from 1650. The rule for the problem illustrated here is in verse 151, while the problem itself is in verse 152:

151: The square of the pillar is divided by the distance between the snake and its hole; the result is subtracted from the distance between the snake and its hole. The place of meeting of the snake and the peacock is separated from the hole by a number of

hastasequal to half that difference.152: There is a hole at the foot of a pillar nine

hastashigh, and a pet peacock standing on top of it. Seeing a snake returning to the hole at a distance from the pillar equal to three times its height, the peacock descends upon it slantwise. Say quickly, at how manyhastasfrom the hole does the meeting of their two paths occur? (It is assumed here that the speed of the peacock and the snake are equal.)

These verses and much else from the *Lilavati* may be found in Kim Plofker, "Mathematics in India", in Victor Katz, ed., The Mathematics of Egypt, Mesopotamia, China, India, and Islam: A Sourcebook * * (Princeton: Princeton University Press, 2007), pp. 385-514.

This page from the *Lilavati* gives another illustration of the Pythagorean Theorem.