[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math

Search:


View post   

>> No.11886933 [View]
File: 88 KB, 1248x766, double asymptotes.png [View same] [iqdb] [saucenao] [google]
11886933

I'm trying to plot the black body spectrum of the Sun, but the graph I'm getting by using Planck's Law is two very narrow asymptotes near 0 with a value of 0 at x = 0. See pic related.
[eqn]L(x) = \frac{2hc^2}{\lambda^5 \left(e^{\frac{hc}{\lambda k_B T}}-1\right)}[/eqn]
This is the form of the law I'm using, which gives me the following by replacing the constants by their values:
[eqn]L(x)= \frac{2 \times 6.626 \times 10^{-34} \times \left( 2.998 \times 10^8 \right)^2}{x^5 \times \left(e^{\frac{6.626 \times 10^{-34} \times 2.998 \times 10^8}{x \times 1.381 \times 10^{-23} \times 5778}}-1\right)}[/eqn]
Which is input into the program like this:
L(x) = (2*6.626E-34*(2.998E8)^2)/(x^5*(e^((6.626E-34*2.998E8)/((x*1.381E-23*5778))-1))
Where did I mess up?

Navigation
View posts[+24][+48][+96]