diff options
Diffstat (limited to '1991/CH6/EX6.6/6.sce')
-rwxr-xr-x | 1991/CH6/EX6.6/6.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/1991/CH6/EX6.6/6.sce b/1991/CH6/EX6.6/6.sce new file mode 100755 index 000000000..7d6de3bff --- /dev/null +++ b/1991/CH6/EX6.6/6.sce @@ -0,0 +1,12 @@ +clc
+clear
+//input
+p1=1.01*10^5//initial pressure
+t2=135+273//final temperature
+t1=273//initial temperature
+d=2.8 //density
+//calculation
+p2=p1*t2/t1//pressure law
+p=(3*p2/2.8)^0.5//kinetic theory
+//output
+printf("rms speed of gas molecule is %3.0f m/s",p)
|