From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 172/CH8/EX8.10/ex10.sce | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 172/CH8/EX8.10/ex10.sce (limited to '172/CH8/EX8.10/ex10.sce') 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 -- cgit