Hey,
can somebody help me. I have to do a programm from school. I a complete newbie in python.
Can somebody tell me why my programm doesn't work and what i can do. thanks
here it is:
import matplotlib
import numpy
import pylab
lam = pylab.linspace(0.1,100,1000)*10**-6
pylab.xlabel('Wellenlaenge (mM)')
pylab.ylabel('Temperatur (T)')
pylab.title('Mac Plank')
c1 = 0.374*10**-15
c2 = 1.439*10**-2
p= lamda x,t : (c1/(x**5))*(1/(2.7183**(c2/x*t))-1)
pylab.plot (lam*1e6,p(lam,300))
for t in (300,400,600,800,1000): pylab.plot(lam*1e6, p(lam,t)