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/CH2/EX2.05/2_05.sce | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 680/CH2/EX2.05/2_05.sce (limited to '680/CH2/EX2.05/2_05.sce') diff --git a/680/CH2/EX2.05/2_05.sce b/680/CH2/EX2.05/2_05.sce new file mode 100755 index 000000000..6e8cc6362 --- /dev/null +++ b/680/CH2/EX2.05/2_05.sce @@ -0,0 +1,11 @@ +//Problem 2.05: + +//initializing the variables: +sgm = 0.92; +dw = 62.4; // in lb/ft3 + +//calculation: +dm = sgm*dw + +printf("\n\nResult\n\n") +printf("\n the density of methanol is %.1f lb/ft3\n",dm) -- cgit