Question: please help programming language is python The formula I'm given for the Planck function B (1,T) = x5 (exp ( 11 2hc2 hc -1) 1.

please help please help programming language is python The formula I'm given for the
programming language is python

The formula I'm given for the Planck function B (1,T) = x5 (exp ( 11 2hc2 hc -1) 1. Write a program that determines where the peak of the Planck function occurs in wavelength for a given temperature. You must use a while loop to do this. a. solve this problem with a while loop. If the temperature of an object is T= 13,000 K, what is the peak wavelength (4)? Use 200 nm as your initial guess, and a step-size of +5 nm. b. Print your list(s) of wavelength and BA values. Make sure to format your output so that wavelength has zero decimal points and is expressed in nm, and BA is expressed in scientific notation with 2 decimal points. c) How many iterations did it take for your algorithm to find it? 1 STEPS: 1. Supply an initial guess for the wavelength where the blackbody peak occurs (200 nm in this case). 2. Use a while loop to increment your guess for the wavelength until you find the turnover point," i.e. the point where the value of B goes from increasing to decreasing. 3. Store the wavelength and BA values in a list (or two) to help you verify that your algorithm finds the peak. 4. Make sure to prevent the while loop from taking more than 100 steps Include these variables temperature=temp wavelength increment wing maximum number of iterations maxlfor

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!