summaryrefslogtreecommitdiff
path: root/3648/CH10/EX10.10
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3648/CH10/EX10.10
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3648/CH10/EX10.10')
-rw-r--r--3648/CH10/EX10.10/Ex10_10.sce13
-rw-r--r--3648/CH10/EX10.10/Ex10_10.txt1
2 files changed, 14 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
diff --git a/3648/CH10/EX10.10/Ex10_10.txt b/3648/CH10/EX10.10/Ex10_10.txt
new file mode 100644
index 000000000..a20a8465e
--- /dev/null
+++ b/3648/CH10/EX10.10/Ex10_10.txt
@@ -0,0 +1 @@
+The Final pressure is P2=328 K Pa \ No newline at end of file