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 --- 858/CH5/EX5.16/example_16.sce | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 858/CH5/EX5.16/example_16.sce (limited to '858/CH5/EX5.16') diff --git a/858/CH5/EX5.16/example_16.sce b/858/CH5/EX5.16/example_16.sce new file mode 100755 index 000000000..1ff974f78 --- /dev/null +++ b/858/CH5/EX5.16/example_16.sce @@ -0,0 +1,22 @@ +clc +clear +printf("example 5.16 page number 208\n\n") + +//to find the amount of liquid and vapor leaving and outlet concentration +//we have two linear equations in L and V so we will write them in form of a matrix and then solve using principles of linear algebra + +b1 = 6000*125.79+3187.56*2691.5-3187.56*461.30; //data from previous problem +b2 = 6000; +A = [419.04 2676.1;1 1]; + +b = [b1;b2]; +x = A\b; +L = x(1); +V = x(2); + +printf("L = %f kg/hr\nV = %f kg/hr",L,V) + +F = 6000 //in kg/hr +xF = 0.01; +xL = F*xF/L; +printf("\n\npercentage increase in outlet concentration = %f",xL*100) -- cgit