Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

How would I program this in MatLab Part 10: The spectral radiance emitted by a blackbody in thermal equilibrium at a definite 3 temperature is

How would I program this in MatLab
image text in transcribed
Part 10: The spectral radiance emitted by a blackbody in thermal equilibrium at a definite 3 temperature is described by Planck's Law B(a)- 10 Ak where, 8-Spectral radiance [w/ (sr?mm)] (NOTE: sr-steradian-SI unit for solid angle) ??Planck constant = 662607 10'3 s ?-wavelength [nm] Ka Boltzmann constant-1.38065 x 10 JK T- temperature [K] c-speed of light-299 1017mm/s Create a function in MatLab to accomplish the following a) Take as inputs two (2) vectors: a wavelength vector, lamdaVec, and a temperature vector Temp. The values we will test are: i. lamdaVec: 525 nm (blue), 750 (red) and 1200 nm (infrared) ii. Temp: 7200 K, 5680 K and 4000 K b) Initialize a 3 x 3 array called spectral. Hint: Often, arrays are initialized with all elements having the same value, such as zero. c) Using for loops, calculate the spectral radiance for each combination of wavelength and temperature i. Set the remaining 8 elements in spectral with the following format: 7/8 a. As one moves down through the rows, the wavelength goes from shortest to longest (525 nm1200 nm) As one moves across the columns, the temperature goes from hottest to coolest b. (7200 K ? 4000 K) d) The function should have three outputs (3): i. ii. ii. a the updated array spectral vector consisting of all three spectral radiance values for T-7200 K scalar value approximating the blue irradiance of our sun CA-525 nm, T-5680 K)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M Kroenke, David J Auer

6th Edition

0132742926, 978-0132742924

Students also viewed these Databases questions

Question

3-34. An email message turning down a job applicant

Answered: 1 week ago