summaryrefslogtreecommitdiff
path: root/3845/CH13/EX13.8/Ex13_8.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3845/CH13/EX13.8/Ex13_8.sce
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 '3845/CH13/EX13.8/Ex13_8.sce')
-rw-r--r--3845/CH13/EX13.8/Ex13_8.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3845/CH13/EX13.8/Ex13_8.sce b/3845/CH13/EX13.8/Ex13_8.sce
new file mode 100644
index 000000000..fda7dcda2
--- /dev/null
+++ b/3845/CH13/EX13.8/Ex13_8.sce
@@ -0,0 +1,11 @@
+//Example 13.8
+N=2.68*10^25;//Number of molecules in 1 m^3 of gas at STP, See Example 13.7 (molecules/m^3)
+N_A=6.02*10^23;//Avogadro's number (molecules/mol)
+n=N/N_A;//Moles per cubic meter (mol/m^3)
+printf('a.Number of moles per cubic meter of gas at STP = %0.1f mol/m^3',n)
+v=1;//Volume (m^3)
+v=v*10^3;//Volume (L/m^3)
+n_l=v/n;//Liters per mole (L/mol)
+printf('\nb.Number of liters of gas per mole = %0.1f L/mol',n_l)
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest