diff options
Diffstat (limited to '3648/CH12/EX12.3/Ex12_3.sce')
-rw-r--r-- | 3648/CH12/EX12.3/Ex12_3.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/3648/CH12/EX12.3/Ex12_3.sce b/3648/CH12/EX12.3/Ex12_3.sce new file mode 100644 index 000000000..6f8a7eb55 --- /dev/null +++ b/3648/CH12/EX12.3/Ex12_3.sce @@ -0,0 +1,13 @@ + +//Example 12_3
+clc();
+clear;
+//To find the final temperature
+t1=27 //units in Centigrade
+t1=t1+273 //Units in K
+gama=1.4 //Units in Constant
+p1=1 //units in Pa
+v1_v2=15 //Units of in ratio
+logT2=log10(t1)-((gama-1)*(log10(p1)-log10(v1_v2)))
+T2=10^logT2 //Units in K
+printf("The final temperature is T2=%d K",T2)
|