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 /3516/CH5/EX5.2 | |
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 '3516/CH5/EX5.2')
-rw-r--r-- | 3516/CH5/EX5.2/Ex5_2.sce | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/3516/CH5/EX5.2/Ex5_2.sce b/3516/CH5/EX5.2/Ex5_2.sce new file mode 100644 index 000000000..bb0a355fe --- /dev/null +++ b/3516/CH5/EX5.2/Ex5_2.sce @@ -0,0 +1,25 @@ +printf("\t example 5.2 \n");
+T1=300; // hot fluid inlet temperature,F
+T2=200; // hot fluid outlet temperature,F
+t1=150; // cold fluid inlet temperature,F
+t2=200; // cold fluid outlet temperature,F
+printf("\t for counter current flow \n");
+delt1=T1-t2; //F
+delt2=T2-t1; // F
+printf("\t delt1 is : %.0f F \n",delt1);
+printf("\t delt2 is : %.0f F \n",delt2);
+LMTD=((delt2-delt1)/((2.3)*(log10(delt2/delt1))));
+printf("\t LMTD is :%.0f F \n",LMTD);
+printf("\t for parallel flow \n");
+delt1=T1-t1; // F
+delt2=T2-t2; // F
+printf("\t delt1 is : %.0f F \n",delt1);
+printf("\t delt2 is : %.0f F \n",delt2);
+if(delt2==0);
+ printf("\t denominator becomes infinity so LMTD becomes Zero \n");
+ printf("\t LMTD is Zero \n");
+else
+ LMTD=((delt2-delt1)/((2.3)*(log10(delt2/delt1))));
+printf("\t LMTD is :%.0f F \n",LMTD);
+ end
+//end
|