diff options
Diffstat (limited to '944/CH5/EX5.30/example5_30_TACC.sce')
-rwxr-xr-x | 944/CH5/EX5.30/example5_30_TACC.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/944/CH5/EX5.30/example5_30_TACC.sce b/944/CH5/EX5.30/example5_30_TACC.sce new file mode 100755 index 000000000..a103f03d5 --- /dev/null +++ b/944/CH5/EX5.30/example5_30_TACC.sce @@ -0,0 +1,13 @@ +//example 5.30
+
+clear;
+clc;
+
+//Given:
+c=1;//no. of components(only CO2)
+p=2;//no. of phases(liquid + gas)
+
+//To find the degrees of freedom
+F=c-p+2;//degree of freedom
+printf("Degrees of freedom is %f \n\n",F);
+disp("Degrees of freedom 1 means that either pressure or temperature can be varied independently,i.e.when temperature is fixed,pressure is automatically fixed");
\ No newline at end of file |