diff options
Diffstat (limited to '1571/CH9/EX9.5')
-rwxr-xr-x | 1571/CH9/EX9.5/Chapter9_Example5.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/1571/CH9/EX9.5/Chapter9_Example5.sce b/1571/CH9/EX9.5/Chapter9_Example5.sce new file mode 100755 index 000000000..ab8dd2c3d --- /dev/null +++ b/1571/CH9/EX9.5/Chapter9_Example5.sce @@ -0,0 +1,14 @@ +clc
+clear
+
+//INPUT
+t1=273;//temperature of the source in K
+t2=290;//temperature of the sink in K
+l=8*10^11;//latent of fusion in ergs/cal
+
+//CALCULATIONS
+n=(t2-t1)/t1;//efficiency of the engine
+w=n*l;//energy to be supplied in ergs
+
+//OUTPUT
+mprintf('efficiency of the engine is %3.2f \n energy to be supplied is %3.2f ergs',n,w)
|