diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /34/CH9/EX9.5/Ch9Exa5.sci | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '34/CH9/EX9.5/Ch9Exa5.sci')
-rwxr-xr-x | 34/CH9/EX9.5/Ch9Exa5.sci | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/34/CH9/EX9.5/Ch9Exa5.sci b/34/CH9/EX9.5/Ch9Exa5.sci new file mode 100755 index 000000000..5cbc1bd1d --- /dev/null +++ b/34/CH9/EX9.5/Ch9Exa5.sci @@ -0,0 +1,24 @@ +
+//Part (a)
+V= 1.00; //volume, cm^3
+V= V*10^(-6); //converting to m^3
+dI= 2.404; //standard value of definite Integral used
+k= 8.617*10^(-5); //Boltzmann constant, eV/K
+h= 4.13*(10^(-15)); //Planck's constant, eV.s
+T= 1000; //temperature, K
+c= 3 *(10^8); //speed of light, m/s
+N= 8*(%pi)*V*dI*[(k*T/(h*c))^3];
+disp(N,"the number of photons is: ")
+
+//Result
+// the number of photons is:
+// 2.032D+10
+
+//Part(b)
+Sig= 5.670*10^(-8); //Stefan's constant, W/m^2.K^4 , refer to Page 317
+Ephoton= Sig*(c^2)*(h^3)*T/(2.405*(2*(%pi)*(k^3))); //J
+disp(Ephoton,"The average energy of the photons, in J, is: ")
+
+//Result
+// The average energy of the photons, in J, is:
+// 3.718D-20
|