comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » about the blackbody radiation curve
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
about the blackbody radiation curve [message #72379] Thu, 02 September 2010 20:37
panshu Zhao is currently offline  panshu Zhao
Messages: 1
Registered: September 2010
Junior Member
PRO radiation


h=6.626068e-27;
k=1.38066e-16;
c=2.997925e+10;
t=6000;
x=findgen(100)*0.0000001;
a=2*h*(c^2)*(x^(-5));

if x=0 then begin
y=0
endif else begin
y=(a)/ (exp((h*c)/(k*x*t))-1)
endelse
plot,x,y

END
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: split array
Next Topic: Re: How to read first and last line of an ascii file FAST

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:44:30 PDT 2025

Total time taken to generate the page: 0.00583 seconds