Energy of galaxy