Welcome, guest | Sign In | My Account | Store | Cart

Energy Distrubution of Black Body

Python, 8 lines
1
2
3
4
5
6
7
8
from pylab import *
from scipy import e
x = arange(0, 15, 0.001)
print x
energy_spectrum_distribution = (pow(x,3)/pow(e,x)-1)
title('The energy density distribution')
plot(x,energy_spectrum_distribution)
show()