summaryrefslogtreecommitdiff
path: root/172/CH7/EX7.5/ex5.sce
diff options
context:
space:
mode:
Diffstat (limited to '172/CH7/EX7.5/ex5.sce')
-rwxr-xr-x172/CH7/EX7.5/ex5.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/172/CH7/EX7.5/ex5.sce b/172/CH7/EX7.5/ex5.sce
new file mode 100755
index 000000000..4008f1006
--- /dev/null
+++ b/172/CH7/EX7.5/ex5.sce
@@ -0,0 +1,10 @@
+//example 5
+//calculating required work
+clear
+clc
+Tl=24+273 //room temperature in Kelvins
+Th=35+273 //atmospheric temperature in Kelvins
+Ql=4 //rate of heat rejection from room
+B=Tl/(Th-Tl) //coefficient of performance of air conditioner
+W=Ql/B //required work in kW
+printf("\n hence,the magnitude of reqiured work is W=%.2f kW.\n",W) \ No newline at end of file