In-Class Assignment 7

In-Class Assignment 7#

Exploring Conditions at the Photosphere#

import numpy as np
import matplotlib.pyplot as plt
import pandas as pd

We saw in HKT 4.3 that we can use the equation of HSE to calculate photospheric pressure as a function of \(g\) and \(\tau\).

Eq. 4.48

\[ P(\tau_{\rm{P}}) = \frac{2}{3}\frac{g_{\rm{S}}}{\kappa_{\rm{P}}} \left ( 1 + \frac{\kappa_{\rm{P}}\mathcal{L}}{4 \pi c G \mathcal{M}} \right ) \]

where \(g_{\rm{s}}=G \mathcal{M}/\mathcal{R^2}\)

and Eq. 4.54

\[ P(\tau_{\rm{P}}) \approx \frac{2}{3}\frac{g_{\rm{S}}}{\kappa_{\rm{P}}} \]

The model files are again:

a#

Using your 1\(M_{\odot}\) solar mass model, try to find an evolutionary phase where the radiation pressure term will be largest, though still small compared to the gas pressure. Justify why you’ve chosen the evolutionary phase that you did.

Plot both the gas pressure and radiation pressure term profiles at this epoch. How good of an approximation is Eq. 4.54?

## a results here

b#

Now return to the 15\(M_{\odot}\) models. Find a profile where the radiation pressure term is significant. Plot both the gas pressure and radiation pressure term profiles at this epoch. How good of an approximation is Eq. 4.54? What about 4.48?

## b results here

c#

Comment qualitatively on the impact of metallicity on the relative importance of the gas pressure vs radiation pressure terms.