summaryrefslogtreecommitdiff
path: root/3875/CH10/EX10.9
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3875/CH10/EX10.9
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3875/CH10/EX10.9')
-rw-r--r--3875/CH10/EX10.9/10_9.sce24
-rw-r--r--3875/CH10/EX10.9/10_9.txt3
2 files changed, 27 insertions, 0 deletions
diff --git a/3875/CH10/EX10.9/10_9.sce b/3875/CH10/EX10.9/10_9.sce
new file mode 100644
index 000000000..04a390b8f
--- /dev/null
+++ b/3875/CH10/EX10.9/10_9.sce
@@ -0,0 +1,24 @@
+clc;
+clear;
+h=6.63*10^-34 //Plancks constant in Joule-s
+c=3*10^8 //velocity of light in m/s
+lambda1=10^-3 //wavelength in m
+lambda2=100*10^-9 //wavelength in m
+T=1000 //temperature in K
+k_B=1.38*10^-23 //Boltzmann constant in m^2 kg s^-2 K^-1
+d_lambda1=0.1*10^-3 //range of wavelength in m
+d_lambda2=1*10^-9 //range of wavelength in m
+
+//calculation
+//case (a) when the range of wavelength is between 1-1.1 mm
+E=exp((h*c)/(lambda1*k_B*T)) //calculating the exponential term of the eqn
+U_lambda1=((8*%pi*h*c*d_lambda1)/(lambda1^5*(E-1)))
+mprintf("The energy density is = %1.2e J/m^3.\n",U_lambda1)
+
+//case (b) when the range of wavelength is between 100-101 nm
+E1=exp((h*c)/(lambda2*k_B*T)) //calculating the exponential term of the eqn
+U_lambda2=((8*%pi*h*c*d_lambda2)/(lambda2^5*(E1-1)))
+mprintf("The energy density is = %1.2e J/m^3.",U_lambda2)
+//The answer provided in the textbook is wrong.
+
+mprintf("\nThus for shorter wavelengths the energy densities predicted by Rayleigh-Jeans law and Planks law are considerably different while for longer wavelengths the energy densites predicted are same.")
diff --git a/3875/CH10/EX10.9/10_9.txt b/3875/CH10/EX10.9/10_9.txt
new file mode 100644
index 000000000..dd4ecf59d
--- /dev/null
+++ b/3875/CH10/EX10.9/10_9.txt
@@ -0,0 +1,3 @@
+The energy density is = 3.44e-11 J/m^3.
+The energy density is = 1.27e-60 J/m^3.
+Thus for shorter wavelengths the energy densities predicted by Rayleigh-Jeans law and Planks law are considerably different while for longer wavelengths the energy densites predicted are same. \ No newline at end of file