From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1571/CH8/EX8.6/Chapter8_Example6.sce | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 1571/CH8/EX8.6/Chapter8_Example6.sce (limited to '1571/CH8/EX8.6') diff --git a/1571/CH8/EX8.6/Chapter8_Example6.sce b/1571/CH8/EX8.6/Chapter8_Example6.sce new file mode 100755 index 000000000..75aaf063f --- /dev/null +++ b/1571/CH8/EX8.6/Chapter8_Example6.sce @@ -0,0 +1,13 @@ +clc +clear + +//INPUT +t1=288;//inital temperature in K +dv=1/2;//ratio of inital to final volume +y=1.4;//coefficient of expansion + +//CALCULATIONS +t2=t1*(dv)^(y-1);//final temperature in K + +//OUTPUT +mprintf('the final temperature is %3.1f K',t2) -- cgit