diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3648/CH10/EX10.9/Ex10_9.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3648/CH10/EX10.9/Ex10_9.sce')
-rw-r--r-- | 3648/CH10/EX10.9/Ex10_9.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/3648/CH10/EX10.9/Ex10_9.sce b/3648/CH10/EX10.9/Ex10_9.sce new file mode 100644 index 000000000..9f841aec9 --- /dev/null +++ b/3648/CH10/EX10.9/Ex10_9.sce @@ -0,0 +1,12 @@ +//Example 10_9
+clc();
+clear;
+//To find the pressure after the car has been driven at high speed
+t2=308 //Units in K
+t1=273 //Units in K
+p2_p1=(t2)/t1 //In terms of P1
+P1=190 //Units in K Pa
+P2=101 //Units in K Pa
+P2=p2_p1*(P1+P2) //Units in K Pa
+printf("The Final pressure is P2=%d K Pa",round(P2))
+//In text book the answer is printed wrong as P2=329 K Pa but the correct answer is 328 K Pa
|