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 --- 593/CH4/EX4.3/ex4_3.sce | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 593/CH4/EX4.3/ex4_3.sce (limited to '593/CH4/EX4.3') diff --git a/593/CH4/EX4.3/ex4_3.sce b/593/CH4/EX4.3/ex4_3.sce new file mode 100755 index 000000000..da95ca411 --- /dev/null +++ b/593/CH4/EX4.3/ex4_3.sce @@ -0,0 +1,25 @@ +clear; +//clc(); + +// Example 4.3 +// Page: 80 +printf("Example-4.3 Page no.-80\n\n"); + +//***Data***// +// We have the system which consists of isobutane and normal butane and isomerisaation is taking place between them +// The equilibrium constant for this reaction is given by +// K = (mole fraction of isobutane)/(mole fraction of n-butane) = x_iso/x_normal + +// For this reaction, at 25C, +K = 4.52; + +// and +// x_iso + x_normal = 1 +// so +// K = x_iso/(1-x_iso) + +// solving for x_iso +deff('[y]=f(x_iso)','y = x_iso/(1-x_iso)-K'); +x_iso = fsolve(0,f); + +printf(" Mole fraction of isobutane isomer in equilibrium is %0.2f",x_iso); -- cgit