diff options
Diffstat (limited to '32/CH3/EX3.20')
-rwxr-xr-x | 32/CH3/EX3.20/3_20.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/32/CH3/EX3.20/3_20.sce b/32/CH3/EX3.20/3_20.sce new file mode 100755 index 000000000..cf910f4be --- /dev/null +++ b/32/CH3/EX3.20/3_20.sce @@ -0,0 +1,13 @@ +//pathname=get_absolute_file_path('3.20.sce')
+//filename=pathname+filesep()+'3.20-data.sci'
+//exec(filename)
+//Volume of the bottle(in m^3):
+v=0.5
+//Pressure in the bottle(in Bar):
+p=1.0135
+//Displacement work(in N-m):
+W=p*10^5*(0-v)
+//Heat transfer(in N-m):
+Q=-W
+printf("\nRESULT\n")
+printf("\nHeat transferred = %d N-m",Q)
\ No newline at end of file |