summaryrefslogtreecommitdiff
path: root/3825/CH6/EX6.7/Ex6_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3825/CH6/EX6.7/Ex6_7.sce')
-rw-r--r--3825/CH6/EX6.7/Ex6_7.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3825/CH6/EX6.7/Ex6_7.sce b/3825/CH6/EX6.7/Ex6_7.sce
new file mode 100644
index 000000000..837aebb67
--- /dev/null
+++ b/3825/CH6/EX6.7/Ex6_7.sce
@@ -0,0 +1,12 @@
+clc
+T=300 //temperature in Kelvin
+gama=1.4
+Tf=gama*T
+mprintf("Tf=%iK\n",Tf)
+P=50*10^5 //pressure in Pascals
+V=0.1 //volume in metre-cube
+R=8.314
+N=(P*V)/(R*Tf)
+mprintf("N=%f\n",N)//ans vary due to roundoff error
+molmass=28.97 //molar mass of air
+mprintf("Mass of air filled in cylinder=%fkg",N*molmass*10^-3)//ans vary due to roundoff error