diff options
Diffstat (limited to '1268/CH10/EX10.3/10_3.sce')
-rw-r--r-- | 1268/CH10/EX10.3/10_3.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/1268/CH10/EX10.3/10_3.sce b/1268/CH10/EX10.3/10_3.sce new file mode 100644 index 000000000..b56f298ad --- /dev/null +++ b/1268/CH10/EX10.3/10_3.sce @@ -0,0 +1,10 @@ +clc;
+disp("Example 10.3")
+ratio=5 // of the two pressures
+T=293 // inn K
+gama=1.4
+M=29 // molecular weight
+r=8314 // gas constant
+y=(ratio^((gama-1)/gama))-1
+w=r*T*gama*y/(M*(gama-1))
+disp(w,"Work done is ")
|