from IPython.display import Latex
import matplotlib.pyplot as plt
%matplotlib inline
import numpy
from matplotlib import animation, rc
from IPython.core.display import HTML
from IPython.display import HTML
from ipywidgets import *
from scipy.integrate import odeint
from IPython.display import Image
We learned that the Sun can be modeled as a Blackbody. If we measure the radiance of the Sun at the top of the atmosphere, we get the following curve:
PATH = "/Users/hunteradams/Documents/PhD Semester 5/Sections/"
Image(filename = PATH + "Solar_Spectrum.png", width=600, height=600)
We see that the peak of this Blackbody curve is at about 501.5 nm, or 0.5015 $\mu m$. Remember Wien's Law?
Solving for $T$:
Substituting the measured $\lambda_{max}$:
Remember Stephan-Boltzmann?
where $\sigma = 5.67 \times 10^{-8} \frac{\text{W}}{\text{m}^2\text{K}^4}$, and $F$ has units of energy/time/area, or $\frac{W}{m^2}$. So, the energy per unit time (W) per unit area ($m^2$) emitted by the Sun is:
Recall that to get total energy/time (Watts), we multiply the energy/time/area by the surface area of the star:
We know that the Sun has a radius of the Sun is $6.97 \times 10^8$ meters. So, the luminosity is:
Recall that this total energy gets distributed on the surface of a sphere with radius equal to the distance to the Sun.
This is known as the Solar Constant.
We know that there is 1370 $\frac{W}{m^2}$ coming from the Sun at one AU away. How much of the Earth's total surface area intercepts this energy? The energy is intercepted by the disk that faces the Sun. So...the total incoming energy is give by:
But! Not all of this energy is absorbed! In fact, only about 70 percent is absorbed (the rest is reflected). This equation is then augmented as:
For now, let's not substitute values into this equation. We'll see why in a moment.
What does this energy do when it hits the Earth? It heats it up. If we assume that the Earth is heated up pretty uniformly, then it can be approximated by a blackbody. Remember that from Stephen-Boltzmann, the $\frac{W}{m^2}$ emitted by a blackbody is given by:
So, as before, the total energy emitted is given by:
Note that energy was absorbed only on the disk ($\pi R_E^2$), and is emitted over the entire surface area of the Earth ($4\pi R_E^2$).
Equilibrium means that the total incoming energy is equal to the total outgoing energy. The Earth isn't getting hotter or colder when it's in equilibrium, it's at a temperature where these energies are balanced. How do we enforce this condition? We set the incoming energy equal to the outgoing energy:
Cancelling terms:
Solving for $T$:
Substituting:
What is this in Celcius? $255-273 = -18C \approx 0F$. Super cold.
The Earth is not 0F because of the Greenhouse Effect. What is the wavelength of incident light from the the Sun? Wien's Law:
What is the wavelength of light re-emitted by the Earth?
That's a much longer wavelength. Remember what we learned about absorption and emission spectra? Specific molecules will absorb and re-emit light at very specific wavelengths, and it will allow light that isn't at those wavelengths to pass unimpeded. Which direction does the light get re-emitted? All directions.
So the atmosphere, which has C02, methane, etc., allows short-wavelength light from the Sun to pass unimpeded. However, it absorbs and re-emits light at longer wavelengths. Because that light is re-emitted in all directions, some is sent back down to Earth, warming it more.