Skip to content

This is a theoretical approximation to a Hertzsprung-Russell Diagram from a homework of course Stellar Astrophysics.

Notifications You must be signed in to change notification settings

jurados/Hertzsprung-Rusell-Diagram

Repository files navigation

Hertzsprung-Rusell-Diagram

This code generate a Hertzsprung-Rusell diagram from a stellar astrophysics homework based in the text An Introduction to Modern Astrophysics (2nd Edition) - Bradley W. Carroll & Dale A. Ostile.

The homework's taks were:

The main sequence present an aproximate mass-luminosity relation as and a radius-mass relation as .

  1. With the before relations you can graph the main sequence in an Hertzsprung-Rusell theoretical diagram (HRD). Your HRD should cover the range 3.5 - 4.5 for and a appropiate range for . Hint: Derivate first a expresion for in terms for stars in main sequences.

We now that the relation between the luminosity and the effective temperature for a star is:

where is the Stefan-Boltzmann constant and is the star's radius.

if we divided with the Sun's values:

from the above relations we have that:

for main sequence:

here i used the effective temperature of sun equal to

  1. Draw a dashed line in constants stelar radius equal to .
  2. Betelgeuse star has and . Show the position of this star on your HRD.

At the moment the resulting HRD is: Hertzsprung-Russel-Diagram Where the line represent the mathematical aproximation for stars on main sequence, the blue points are stars on main sequence from the G-appendix in An Introduction to Modern Astrophysics (2nd Edition) - Bradley W. Carroll & Dale A. Ostile and the dashed lines will be regions where stars will have these star's radius.

About

This is a theoretical approximation to a Hertzsprung-Russell Diagram from a homework of course Stellar Astrophysics.

Topics

Resources

Stars

Watchers

Forks

Languages