diff options
Diffstat (limited to '2144/CH2/EX2.9/exa_2_9.sce')
-rwxr-xr-x | 2144/CH2/EX2.9/exa_2_9.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/2144/CH2/EX2.9/exa_2_9.sce b/2144/CH2/EX2.9/exa_2_9.sce new file mode 100755 index 000000000..fc7f51de5 --- /dev/null +++ b/2144/CH2/EX2.9/exa_2_9.sce @@ -0,0 +1,14 @@ +// Example 2.9
+clc;
+clear;
+close;
+// Given data
+P1= 96;// in kN/m^2
+P2= 725;// in kN/m^2
+V1= 600;// in cm^3
+V2= 100;// in cm^3
+T1= 100+273;// in K
+// Formula P1*V1/T1 = P2*V2/T2
+T2= P2*V2*T1/(P1*V1);// in K
+disp(T2-273,"Temperature at the end of compression in °C is : ");
+// Note:- In the book, There is an error to calculate the value of T2.
|