Program: mathmatica Using your program, plot the Planck distribution rho (lambda
ID: 3784043 • Letter: P
Question
Program: mathmatica
Using your program, plot the Planck distribution rho (lambda) from the equation d'E = rho (lambda) d lambda for five different temperatures of your choice. In this equation 'E is the total energy density. You may find that Mathematica sometimes has trouble with plots involving very large or very small numbers. Make sure that you are plotting in the appropriate units over reasonable ranges. You might want to first practice plotting functions such as rho (lambda) without the constants such as h, c, and k_B. rho (lambda) = 8 pi hc/lambda^5 1/e^hc/lambda k_B^T - 1Explanation / Answer
echo Enter four integers with space between read a b c d sum=`expr $a + $b + $c + $d` avg=`expr $sum / 4` dec=`expr $sum % 4` dec=`expr ( $dec * 1000 ) / 4` product=`expr $a * $b * $c * $d` echo Sum=$sum echo Average=$avg.$dec echo Product=$product
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.