I am given a problem where the temperature of the suns core is given and I have to calculate the average speed of an electron in the core. The only thing that pops into my head would be the Maxwell-Boltzmann velocity distribution. I can carry out the calculation on my own but I am uncertain if I should use that distribution. The distribution is made to describe ideal gases, can I use it for this soup of electrons and protons?
I assume there is extreme pressure in the core. Does that also not matter?