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 /3434/CH4/EX4.6/Ex4_6.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 '3434/CH4/EX4.6/Ex4_6.sce')
-rw-r--r-- | 3434/CH4/EX4.6/Ex4_6.sce | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/3434/CH4/EX4.6/Ex4_6.sce b/3434/CH4/EX4.6/Ex4_6.sce new file mode 100644 index 000000000..dd763ef88 --- /dev/null +++ b/3434/CH4/EX4.6/Ex4_6.sce @@ -0,0 +1,25 @@ +// given data
+clc
+phi=28.58 // in degree
+n=135 // may 15
+dlta=23.45*sind((360*(284+n)/365.0))
+
+w=(13.5-12)*15 // in degrees
+A=3981.6 // in W/m^2 from table 4.2
+B=0.177// from table 4.2
+C=0.130 // from table 4.2
+
+costhetaz=cosd(phi)*cosd(dlta)*cosd(w)+sind(dlta)*sind(phi)
+
+Ibn=A*exp(-B/0.922)// kJ/m^2-h
+
+
+Id=C*Ibn // kJ/m^2-h
+
+printf("The diffused radiation is %.2f kJ/m^2-h",Id)
+Ib=Ibn*0.922 // in kJ/m^2-h
+
+printf("\n The beam radiation is %.2f kJ/m^2-h",Ib)
+Ig=Ib+Id // in kJ/m^2-h
+
+printf("\n The global radiation is %.2f kJ/m^2-h",Ig)
|