diff options
Diffstat (limited to '680/CH4/EX4.07')
-rwxr-xr-x | 680/CH4/EX4.07/4_07.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/680/CH4/EX4.07/4_07.sce b/680/CH4/EX4.07/4_07.sce new file mode 100755 index 000000000..89453e345 --- /dev/null +++ b/680/CH4/EX4.07/4_07.sce @@ -0,0 +1,14 @@ +//Problem 4.07:
+
+//initializing the variables:
+mdt1 = 1000; // in lb/min
+mdt2 = 1000; // in lb/min
+mdt3 = 200; // in lb/min
+
+//calculation:
+mdt5 = mdt1 + mdt2 - mdt3
+mdt6 = mdt2
+mdt = mdt5 - mdt6
+
+printf("\n\nResult\n\n")
+printf("\n amount of water lost by evaporation is %.0f lb/min",mdt)
\ No newline at end of file |