summaryrefslogtreecommitdiff
path: root/3369/CH3/EX3.7
diff options
context:
space:
mode:
Diffstat (limited to '3369/CH3/EX3.7')
-rwxr-xr-x3369/CH3/EX3.7/Ex3_7.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3369/CH3/EX3.7/Ex3_7.sce b/3369/CH3/EX3.7/Ex3_7.sce
new file mode 100755
index 000000000..b1cb00182
--- /dev/null
+++ b/3369/CH3/EX3.7/Ex3_7.sce
@@ -0,0 +1,13 @@
+//Chapter 3, Exmaple 7, page 105
+//Mean square velocity of Helium
+clc
+clear
+//based on equation 3.2 and 3.3 we derive the gas density
+N = 178*10**-3 // kg/m^3
+// calculating mean square velocity
+v2 = (3*1.01*10**5)/N
+printf("\nV^2 = %e m^2/s^2",v2)
+v = sqrt(v2)
+printf("\nMean square velocity = %f m/s",v)
+
+//Answer may vary due to round off error