summaryrefslogtreecommitdiff
path: root/3648/CH12/EX12.6/Ex12_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3648/CH12/EX12.6/Ex12_6.sce')
-rw-r--r--3648/CH12/EX12.6/Ex12_6.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3648/CH12/EX12.6/Ex12_6.sce b/3648/CH12/EX12.6/Ex12_6.sce
new file mode 100644
index 000000000..1067a8af5
--- /dev/null
+++ b/3648/CH12/EX12.6/Ex12_6.sce
@@ -0,0 +1,10 @@
+//Example 12_6
+clc();
+clear;
+//To findout how much electricity is needed
+Tc=278 //Units in K
+Th=293 //Units in K
+COP=Tc/(Th-Tc) //Units in ratio
+Qc=210000 //Units in J
+W=Qc/COP //Units in J
+printf("The amount of Electricity is required is Delta W=%d J",W)