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 /3159/CH7/EX7.1 | |
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 '3159/CH7/EX7.1')
-rwxr-xr-x | 3159/CH7/EX7.1/Ex7_1.sce | 9 | ||||
-rwxr-xr-x | 3159/CH7/EX7.1/Ex7_1.txt | 14 |
2 files changed, 23 insertions, 0 deletions
diff --git a/3159/CH7/EX7.1/Ex7_1.sce b/3159/CH7/EX7.1/Ex7_1.sce new file mode 100755 index 000000000..03a44b98e --- /dev/null +++ b/3159/CH7/EX7.1/Ex7_1.sce @@ -0,0 +1,9 @@ +// Find degrees of freedom of a system of two components
+clc
+c = 2 // number of components
+printf("\n Example 7.1")
+for n = 1:4
+ p = (c-1) +2 // Total variables
+ f = c-n+2 // degree of freedom
+ printf("\n\n Degree of freedom for two components when \n number of phases is %d is %d",n,f)
+end
diff --git a/3159/CH7/EX7.1/Ex7_1.txt b/3159/CH7/EX7.1/Ex7_1.txt new file mode 100755 index 000000000..97d15f7f3 --- /dev/null +++ b/3159/CH7/EX7.1/Ex7_1.txt @@ -0,0 +1,14 @@ +
+ Example 7.1
+
+ Degree of freedom for two components when
+ number of phases is 1 is 3
+
+ Degree of freedom for two components when
+ number of phases is 2 is 2
+
+ Degree of freedom for two components when
+ number of phases is 3 is 1
+
+ Degree of freedom for two components when
+ number of phases is 4 is 0
\ No newline at end of file |