summaryrefslogtreecommitdiff
path: root/3850/CH24/EX24.3
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3850/CH24/EX24.3
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 '3850/CH24/EX24.3')
-rw-r--r--3850/CH24/EX24.3/Ex24_3.sce21
-rw-r--r--3850/CH24/EX24.3/Ex24_3.txt2
2 files changed, 23 insertions, 0 deletions
diff --git a/3850/CH24/EX24.3/Ex24_3.sce b/3850/CH24/EX24.3/Ex24_3.sce
new file mode 100644
index 000000000..6e4b69980
--- /dev/null
+++ b/3850/CH24/EX24.3/Ex24_3.sce
@@ -0,0 +1,21 @@
+
+//To calculate the number of molecules in each cubic metre
+
+//Example 24.3
+
+clear;
+
+clc;
+
+p=1.0*10^5;//pressure in N/m^2
+
+v=1;//volume in cubic metre
+
+t=300;//temperature in Kelvin
+
+k=1.38*10^-23;//boltzmann constant(J/K)
+
+n=p*v/(k*t);//formula for finding number of molecules
+
+printf("number of molecule=%f*10^25",n/(10^25));
+
diff --git a/3850/CH24/EX24.3/Ex24_3.txt b/3850/CH24/EX24.3/Ex24_3.txt
new file mode 100644
index 000000000..6f900e629
--- /dev/null
+++ b/3850/CH24/EX24.3/Ex24_3.txt
@@ -0,0 +1,2 @@
+
+ number of molecule=2.415459*10^25 \ No newline at end of file