summaryrefslogtreecommitdiff
path: root/3845/CH13/EX13.7/Ex13_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3845/CH13/EX13.7/Ex13_7.sce')
-rw-r--r--3845/CH13/EX13.7/Ex13_7.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3845/CH13/EX13.7/Ex13_7.sce b/3845/CH13/EX13.7/Ex13_7.sce
new file mode 100644
index 000000000..2f6c027f6
--- /dev/null
+++ b/3845/CH13/EX13.7/Ex13_7.sce
@@ -0,0 +1,10 @@
+//Example 13.7
+T=0;//Temperature (C)
+T=T+273;//Temperature (K)
+P=1.01*10^5;//Pressure (Pa)
+V=1;//Volume (m^3)
+k=1.38*10^-23;//Boltzmann constant (J/K)
+N=(P*V)/(k*T);//Number of molecules
+printf('Number of molecules in 1 m^3 of gas at STP = %0.2e',N)
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest