First is the computation of the Mean Longitude of the planet, Graha Madhyamam. Then, in order to get the heliocentric longitude, Vikshepa Vritteeya Sphuta, the equation , R e Sin M is used. In order to get the h distance, VIshepa Vritteya Manda Karna, equation R e Cos M is used.