summaryrefslogtreecommitdiff
path: root/23/CH2/EX2.5/Example_2_5.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /23/CH2/EX2.5/Example_2_5.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '23/CH2/EX2.5/Example_2_5.sce')
-rwxr-xr-x23/CH2/EX2.5/Example_2_5.sce27
1 files changed, 27 insertions, 0 deletions
diff --git a/23/CH2/EX2.5/Example_2_5.sce b/23/CH2/EX2.5/Example_2_5.sce
new file mode 100755
index 000000000..f9aeb4dbe
--- /dev/null
+++ b/23/CH2/EX2.5/Example_2_5.sce
@@ -0,0 +1,27 @@
+clear;
+clc;
+
+//Example 2.5
+//Caption : Program To Find The degree of freedom for the various systems
+
+//Formula To be Used F=2-#+N (Where,#(pi)-no of phases,N-number of chemical species)
+
+//(a)-Liquid Water in equllibrium with its vapour.
+N=1;
+pi=2;
+F=2-pi+N;
+disp(F,'(a)Degree Of freedom is');
+
+//(b)-Liquid Water in equllibrium with a mixture of vapour and nitrogen.
+N=2;
+pi=2;
+F=2-pi+N;
+disp(F,'(b)Degree Of freedom is');
+
+//(c)-A liquid Soln of alcohol in water in equillibrium with its vapour
+N=2;
+pi=2;
+F=2-pi+N;
+disp(F,'(c)Degree Of freedom is');
+
+//End \ No newline at end of file