diff options
Diffstat (limited to '1571/CH8/EX8.3/Chapter8_Example3.sce')
-rwxr-xr-x | 1571/CH8/EX8.3/Chapter8_Example3.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/1571/CH8/EX8.3/Chapter8_Example3.sce b/1571/CH8/EX8.3/Chapter8_Example3.sce new file mode 100755 index 000000000..45a445ad0 --- /dev/null +++ b/1571/CH8/EX8.3/Chapter8_Example3.sce @@ -0,0 +1,13 @@ +clc
+clear
+
+//INPUT
+dv=10;//ratio of original volume to final volume
+t1=293;//inital temperature in K
+y=1.41;//coefficent of expansion
+
+//CALCULATIONS
+t2=t1*(dv)^(y-1);//final temperature in K
+
+//OUTPUT
+mprintf('the final temperature is %3.2f K',t2)
|