diff options
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 |