summaryrefslogtreecommitdiff
path: root/3434/CH4/EX4.4/Ex4_4.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3434/CH4/EX4.4/Ex4_4.sce
downloadScilab-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.4/Ex4_4.sce')
-rw-r--r--3434/CH4/EX4.4/Ex4_4.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3434/CH4/EX4.4/Ex4_4.sce b/3434/CH4/EX4.4/Ex4_4.sce
new file mode 100644
index 000000000..0992e6c89
--- /dev/null
+++ b/3434/CH4/EX4.4/Ex4_4.sce
@@ -0,0 +1,12 @@
+// given data
+clc
+Hg=14450.418 // in kj/m^2 per day from previous example
+Ho=22926.408 // in kj/m^2 per day from previous example
+KT=Hg/Ho // unitless
+Hd=Hg*(1.354-1.570*KT) // in kj/m^2 per day
+Hb= Hg-Hd // in kj/m^2 per day
+
+printf("Monthly average of daily diffused is %.2f in kj/m^2 per day",Hd)
+printf("\n beam radiation is %.2f in kj/m^2 per day",Hb)
+
+// the solution inthe textbook is slighlty different as the values from previous examples are used which too are incorrect