summaryrefslogtreecommitdiff
path: root/3648/CH10/EX10.10/Ex10_10.sce
diff options
context:
space:
mode:
Diffstat (limited to '3648/CH10/EX10.10/Ex10_10.sce')
-rw-r--r--3648/CH10/EX10.10/Ex10_10.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3648/CH10/EX10.10/Ex10_10.sce b/3648/CH10/EX10.10/Ex10_10.sce
new file mode 100644
index 000000000..c3fb63c87
--- /dev/null
+++ b/3648/CH10/EX10.10/Ex10_10.sce
@@ -0,0 +1,13 @@
+//Example 10_10
+clc();
+clear;
+//To findout how fast the nitrogen molecule moving in air
+M=28 //Units in Kg/Mol
+Na=6.02*10^26 //Units in K mol^-1
+mo=M/Na //Units in Kg
+k=1.38*10^-23 //units in J/K
+T=27+273 //Units in K
+v2=(3*k*T)/mo //unit in Meter^2/Sec^2
+v=sqrt(v2) //Units in meter/sec
+printf("The nitrogen molecule goes at a speed of V=%d meter/sec",v)
+//In text book the answer is printed wrong as v=517 m/sec the correct answer is v=516 meter/ sec