diff options
Diffstat (limited to '1571/CH8/EX8.13')
-rwxr-xr-x | 1571/CH8/EX8.13/Chapter8_Example13.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/1571/CH8/EX8.13/Chapter8_Example13.sce b/1571/CH8/EX8.13/Chapter8_Example13.sce new file mode 100755 index 000000000..1907a2c2d --- /dev/null +++ b/1571/CH8/EX8.13/Chapter8_Example13.sce @@ -0,0 +1,13 @@ +clc
+clear
+
+//INPUT
+m=5;//mass of air in gm
+cv=0.172;//specific heat at constant volume cal/gm
+dt=10;//changi in temperature in K
+
+//CALCULATIONS
+ie=m*cv*dt;//change in internal energy in cal
+
+//OUTPUT
+mprintf('change in internal energy is %3.2f cal',ie)
|