How the value of Pi has been determined in Vedas?

Until the invention of computers, the western mathematicians couldn't calculate the value of pi upto 16 digits accurately. But we have heard that all the knowledge is in Vedas. Every scientific concept is discussed in Vedas. A Vedic verse in the 10th book of RigVeda which appears to be written for praise of Lord Indra. But the translation of the verse can give the value of Pi upto 32 digits.


In order to memorize the concepts, the Vedic sages used to compile the information in vedic verses. Vedas don't spoon feed you. You have to analyze deeply the meaning of verses. In Vedic verses, the following Vedic numerical codes are used -
ka(क)-1,kha()-2,ga()-3,gha()-4,gna()-5,ca()-6,cha()-7,ja()-8,jha()-9
ta()-1,tha()-2,da()-3,dha()-4,∽na()-5,ta()-6,tha()-7,da()-8,dha()-9
pa()-1,pha()-2,ba()-3,bha()-4,ma()-5
ya()-1,ra()-2,la()-3,va()-4,sa()-5,sha()-6,sa()-7,ha()-8,kshah(क्ष)-0

Thus the Sanskrit constants denote
ka,ta,pa,ya denote 1
kha,tha,pha,ra denote 2
ga,da,ba,la denote 3
gha,dha,bha,va denote 4
gna,na,ma,sa denote 5
ca,ta,sha denote 6
cha,tha,sa denote 7
ja,da,ha denote 8
jha and dha denote 9
kshah denote 0

The Vedic verse which gives the value of Pi is:

गोपीभाग्यमधुव्रातः  श्रुगशोदधिसंधिगःΙ     
खलजीवितखाताव गलहाला रसंधरःΙΙ    

The above verse actually has three meanings - it praises Lord Shiva, Lord Indra and third is the value of Pi upto 30 places after decimal. It gives the value of Pi as -
ga-3,pa-1,bha-4,ya-1,ma-5,dhu-9,ra-2,tha-6,shru-5,ga-3,sho-5,dha-8,dhi-9,sa-7,dha-9,ga-3,kha-2,la-3,jee-8,vi-4,tha-6,kha-2,tha-6,va-4,ga-3,la-3,ha-8,la-3,ra-2,sa-7,dha-9,ra-2

Thus the value of Pi from the Vedic verse is 3.141592653589793238462643832792....
which is the same as calculated by computer.