Hi!
I've got a task that requires me to solve the following integral using ode45 by derivating the integral with the upper limit as "t". I don't seem to understand how to solve this, other than using the command "integral" (which I'm not allowed to do).
I've been given m_e, but my ODE45 attempt doesn't seem to work, and I don't understand why. The code below is what I've come up with.
planckfunnew=@(t,T)planck(lambda,T);[tsome,ssome]=ode45(planckfunnew,[0 1],[4.*10.^-7;100]);% plot(ssome(:,1),ssome(:,2))
function me=planck(lambda,T)h=6.6256e-34;c=2.9979e8;k=1.3805e-23;a=2*pi*h*c^2;b=h*c/k./lambda./T;me=a./lambda.^5./(exp(b)-1);
I'm not that sure of how to define the function, which I'm supposed to insert in the ode45 line.
I'm grateful for any help that I recieve!
Best Answer