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 /944/CH5/EX5.30 | |
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 '944/CH5/EX5.30')
-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 |