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 /32/CH7/EX7.11 | |
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 '32/CH7/EX7.11')
-rwxr-xr-x | 32/CH7/EX7.11/7_11.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/32/CH7/EX7.11/7_11.sce b/32/CH7/EX7.11/7_11.sce new file mode 100755 index 000000000..ec34820f5 --- /dev/null +++ b/32/CH7/EX7.11/7_11.sce @@ -0,0 +1,19 @@ +//pathname=get_absolute_file_path('7.11.sce')
+//filename=pathname+filesep()+'7.11-data.sci'
+//exec(filename)
+//Heat removed(in kJ):
+Q=500
+//Temperature of the heat reservoir(in K):
+T1=835
+//Temperature of the system(in K):
+T2=720
+//Temperature of surroundings(in K):
+T0=280
+//Availability for heat reservoir(in kJ/kg.K):
+A1=T0*Q/T1
+//Availability for system(in kJ/kg.K):
+A2=T0*Q/T2
+//Net loss of available energy(in kJ/kg.K):
+Anet=A1-A2
+printf("\nRESULT")
+printf("\nLoss of available energy = %f kJ/kg.K",-Anet)
\ No newline at end of file |