summaryrefslogtreecommitdiff
path: root/965/CH11/EX11.4/4.sci
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /965/CH11/EX11.4/4.sci
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 '965/CH11/EX11.4/4.sci')
-rw-r--r--965/CH11/EX11.4/4.sci24
1 files changed, 24 insertions, 0 deletions
diff --git a/965/CH11/EX11.4/4.sci b/965/CH11/EX11.4/4.sci
new file mode 100644
index 000000000..63a049e0d
--- /dev/null
+++ b/965/CH11/EX11.4/4.sci
@@ -0,0 +1,24 @@
+clc;
+clear all;
+disp("Energy emitted by sun")
+T=5750;//K
+ds=1.4*10^9;//m diameter of sun
+de=12.8*10^6;//m diameter of earth
+d=15*10^10;//m distance between earth and sun
+
+rs=ds/2;
+re=de/2;
+sigma=5.67*10^(-8);
+As=4*%pi*rs^2;//m^2 surface area of sun
+Eb=sigma*As*T^4;//W
+disp("W",Eb,"total energy emitted by sun =")
+Eo= Eb/(4*%pi*d^2);
+disp("W/m^2",Eo, "Energy received outside earth''s atmosphere =")
+Ee=Eo*%pi*re^2;
+disp("W/m^2",Ee, "Energy received by earth =")
+x=(1-0.42)*Eo// direct energy reaching the earth
+y=0.22*x// diffusion rate
+z=x+y// total radiation reaching the collector
+ap=1.6*1.6*cos(%pi*40/180)// projected area
+Es=ap*z;
+disp("W",Es,"The energy received by the solar collector =")