im really confused on how i relate mass to radius of a star with a non constant density. more specifically i cannot seem to find an equation that states how density varies throughout a main sequence stars radius. Im fine if the equation has known constants within them including solar measurements. not only that i need to code this into a plottable formatt on python and i cant get past the whole density issue.

any help would be amazing!

  • 3
    $\begingroup$ There is no single equation that states how density varies throughout a star’s radius. Otherwise there would be no need for elaborate stellar models. However, you can check out so called polytropic models which are simplified mathematical models that recover basic physical properties of stars. As for real measurements: I vaguely remember having seen a density profile of the sun derived with helioseismology. $\endgroup$ – Hartmut Braun Dec 26 '19 at 10:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.