What is the work of the forces of gravitation equal to, which would be obtained when the sun was compressed from infinitely large

What is the work of the forces of gravitation equal to, which would be obtained when the sun was compressed from infinitely large sizes to the present value of its radius?

For a ball of mass M and radius R, this energy is W = 3/5 k ^ 2 * M ^ 2 / R = 2.27 * 10 ^ 48 ergs.

Remember: The process of learning a person lasts a lifetime. The value of the same knowledge for different people may be different, it is determined by their individual characteristics and needs. Therefore, knowledge is always needed at any age and position.