Legendre's approximation