From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 680/CH4/EX4.07/4_07.sce | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 680/CH4/EX4.07/4_07.sce (limited to '680/CH4/EX4.07') 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 -- cgit