diff options
Diffstat (limited to '1268/CH10/EX10.4/10_4.sce')
-rw-r--r-- | 1268/CH10/EX10.4/10_4.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/1268/CH10/EX10.4/10_4.sce b/1268/CH10/EX10.4/10_4.sce new file mode 100644 index 000000000..7a037d117 --- /dev/null +++ b/1268/CH10/EX10.4/10_4.sce @@ -0,0 +1,12 @@ +clear;
+disp("Example 10.4")
+T=298 // temperature in K
+R=8314 // gas constant
+M=29 // molecular weight
+ratio=6 // of pressures
+gama = 1.4;
+y=(ratio^((gama-1)/gama))-1
+w=r*T*gama*y/(M*(gama-1))
+massrate=300/360
+power=massrate*w
+disp(power,"The power drawn is ")
|