diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /409/CH7/EX7.4/Example7_4.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '409/CH7/EX7.4/Example7_4.sce')
-rwxr-xr-x | 409/CH7/EX7.4/Example7_4.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/409/CH7/EX7.4/Example7_4.sce b/409/CH7/EX7.4/Example7_4.sce new file mode 100755 index 000000000..d4ac12bf4 --- /dev/null +++ b/409/CH7/EX7.4/Example7_4.sce @@ -0,0 +1,16 @@ +clear ;
+clc;
+// Example 7.4
+printf('Example 7.4\n\n');
+//Page no. 180
+// Solution
+
+n_un= 7 ;// Number of unknowns in the given problem- 3 values of xi and 4 values Fi
+n_ie = 5 ;// Number of independent equations
+// Summary of independent equations
+// Three material balances:CH4,C2H6 and N2
+// One specified ratio: moles of CH4 to C2H6 equal 1.5
+// One summation of mole fraction in mixture equals 1
+d_o_f = n_un-n_ie ;// No. of degree of freedom
+
+printf('Number of degree of freedom for the given system is %i .\n',d_o_f);
\ No newline at end of file |