Applications Of Legendre Polynomials