Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need assistance on a MATLAB based problem. I\'m trying to create a graph that

ID: 2317776 • Letter: I

Question

I need assistance on a MATLAB based problem. I'm trying to create a graph that is depicts the maximum radiance over intervals of temperature. So far I've used, a for loop to create the intervals of 1000 to 9000 while R is equal to planck's equation. I've also used to the max functions in order to find the maximum wavelengths (I believe). The output of my plot should be two graphs, one going upwards while one going downwards.

for z = 1:2:9
T = 1000*z;
R = ((2*pi*c^2*h)./Lambda.^5).*(1./((exp((h*c)./(Lambda.*k.*T)))-1));
[a,b] = max(R);
maxR = a;
maxL = Lambda(b);
end

I need the plot function which will help me display the graph. The original question to the problem is shown below:

Create a new plot comapring the wavelength at which the maximum radiance occurs (y axis) compared to the temperature of the black body (x axis).

Explanation / Answer

here there is some values are missing but your doubt is about how to draw the plot:

so that i assumed unknown values,

after you insert that values,

run

c=20;
h=0.001;
Lambda=50*ones(9,1);
k=5;
for z = 1:1:9
    T = 1000*z;
    R(z)= ((2*pi*c^2*h)./Lambda(z).^5).*(1./((exp((h*c)./(Lambda(z).*k.*T)))-1));
end
[a,b] = max(R)
    maxR = a
    maxL = Lambda(b)
R
plot(R)

resut:

a =

    0.9048


b =

     9


maxR =

    0.9048


maxL =

    50


R =

    0.1005    0.2011    0.3016    0.4021    0.5027    0.6032    0.7037    0.8042    0.9048

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote