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 /2741/CH8/EX8.8/Chapter8_Example8.sce | |
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 '2741/CH8/EX8.8/Chapter8_Example8.sce')
-rwxr-xr-x | 2741/CH8/EX8.8/Chapter8_Example8.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/2741/CH8/EX8.8/Chapter8_Example8.sce b/2741/CH8/EX8.8/Chapter8_Example8.sce new file mode 100755 index 000000000..520662bba --- /dev/null +++ b/2741/CH8/EX8.8/Chapter8_Example8.sce @@ -0,0 +1,13 @@ +clc
+clear
+//Input data
+T1=400;//The given temperature of a black body in K
+T2=4000;//The given temperature of a black body in K
+s=5.672*10^-8;//Stefans constant in M.K.S units
+
+//Calculations
+R1=s*T1^4;//The radiant emittance of a black body at 400 k in watts/m^2
+R2=(s*T2^4)/1000;//The radiant emittance of a black body at 4000 k in kilo-watts/m^2
+
+//Output
+printf('The Radiant emittance of a black body at a temperature of ,\n (i) 400 K is R = %3.0f watts/m^2 \n (ii) 4000 K is R = %3.0f kilo-watts/m^2',R1,R2)
|