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 --- 551/CH9/EX9.6/6.sce | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 551/CH9/EX9.6/6.sce (limited to '551/CH9/EX9.6/6.sce') diff --git a/551/CH9/EX9.6/6.sce b/551/CH9/EX9.6/6.sce new file mode 100755 index 000000000..cdb8a3ac8 --- /dev/null +++ b/551/CH9/EX9.6/6.sce @@ -0,0 +1,27 @@ +clc + +//Let composition of mixture by volume be denoted by c1 +//Let Final composition desired be denoted by c2 + +c1_H2=0.78; +c1_CO=0.22; + +c2_H2=0.52; +c2_CO=0.48; + +M_H2=2; +M_CO=28; + +M=c1_H2*M_H2 + c1_CO*M_CO; + +// Let x kg of mixture be removed and y kg of CO be added. + +x=(c1_H2 - c2_H2)/c1_H2*M; +disp("Mass of mixture removed =") +disp(x) +disp("kg") + +y=M_CO/M*x; +disp("Mass of CO added=") +disp(y) +disp("kg") \ No newline at end of file -- cgit