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 --- 632/CH7/EX7.2/example7_2.sce | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 632/CH7/EX7.2/example7_2.sce (limited to '632/CH7/EX7.2/example7_2.sce') diff --git a/632/CH7/EX7.2/example7_2.sce b/632/CH7/EX7.2/example7_2.sce new file mode 100755 index 000000000..a293d4366 --- /dev/null +++ b/632/CH7/EX7.2/example7_2.sce @@ -0,0 +1,16 @@ +//clc() +P1 = 100;//kPa ( Vapour pressure of liq A ) +P2 = 60;//kPa ( Vapour pressure of liq B ) +T = 320;//K +//Pa = xa * P1 = 100 * xa +//Pa = xb * P2 = 60 * xb +//P = xa * P1 + ( 1 - xa )* P2 +// = 100xa + ( 1 - xa )* 60 +// = 60 + 40*xa +//ya = Pa / P +//0.5 = 100*xa / ( 60 + 40 * xa) +xa = 60 * 0.5 / (100 - 20); +Per1 = xa * 100; +disp("%",Per1,"(a)Percentage of A in liquid = ") +Ptotal = 60 + 40 * xa; +disp("kPa",Ptotal,"(b)Total pressure of the vapour = ") \ No newline at end of file -- cgit