summaryrefslogtreecommitdiff
path: root/2495/CH3/EX3.3.2/Ex3_3_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '2495/CH3/EX3.3.2/Ex3_3_2.sce')
-rw-r--r--2495/CH3/EX3.3.2/Ex3_3_2.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2495/CH3/EX3.3.2/Ex3_3_2.sce b/2495/CH3/EX3.3.2/Ex3_3_2.sce
new file mode 100644
index 000000000..fa89517eb
--- /dev/null
+++ b/2495/CH3/EX3.3.2/Ex3_3_2.sce
@@ -0,0 +1,15 @@
+clear
+clc
+//For system when P_NH3=P_HCl
+r=1;//no.of equations
+C=3;//no. of constituents
+Z1=1;//no. of restricting equations
+C1=C-r-Z1;//no. of components
+printf('C1=%.1d',C1)
+
+//For system when P_NH3 not equal P_HCl
+Z2=0;//no. of restricting equations
+C1=C-r-Z2
+printf('\nC1=%.1d',C1)
+
+//page 103