Potential and kinetic energy of sun earth system