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 /172/CH8/EX8.10 | |
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 '172/CH8/EX8.10')
-rwxr-xr-x | 172/CH8/EX8.10/ex10.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/172/CH8/EX8.10/ex10.sce b/172/CH8/EX8.10/ex10.sce new file mode 100755 index 000000000..018a8b3ce --- /dev/null +++ b/172/CH8/EX8.10/ex10.sce @@ -0,0 +1,17 @@ +//example 10
+//Determiining the entropy generated
+clear
+clc
+B=4 //COP of air conditioner
+W=10 //power input of air conditioner in kW
+Qh=B*W //in kW
+Ql=Qh-W //in kW
+Thigh=323 //in Kelvin
+Tlow=263 //in Kelvin
+SgenHP=(Qh*1000/Thigh)-(Ql*1000/Tlow) //in W/K
+Tl=281 // in K
+Th=294 //in K
+SgenCV1=Ql*1000/Tlow-Ql*1000/Tl //in W/K
+SgenCV2=Qh*1000/Th-Qh*1000/Thigh //in W/K
+SgenTOT=SgenCV1+SgenCV2+SgenHP //in W/K
+printf(" \n Hence,Total entropy generated is SgenTOT=%.1f W/K. \n",SgenTOT)
\ No newline at end of file |