XKCD #54

The other day, a friend posted this comic on his wall and it got me thinking. In typical XKCD fashion, it was something nerdy and sciency. So I wanted to get the function and figure out what it’s about.

Well, about 20 minutes and a few Wiki articles later I found the equation and description in question. Turns out, he was talking about the Stefan-Boltzman law. You can read more about it here.

Now I wanted to make sure it worked…bitches. So I whipped up a quick matlab script:
% By FAK 2011
close all; clear all; clc;

h = 6.626069e-34;
c = 299892458;
k = 1.3806488e-23;
f = (1:10:10000)*1e9;
T = 28;

I = (2.*h.*(f.^3)./(c^2)).*(1./(exp(h.*f./(k.*T))-1));

What do you know? It works.

xkcd proof

Fekete András

Liked it? Take a second to support me on Patreon!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.