summaryrefslogtreecommitdiff
path: root/2741/CH5/EX5.19/Chapter5_Example19.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2741/CH5/EX5.19/Chapter5_Example19.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2741/CH5/EX5.19/Chapter5_Example19.sce')
-rwxr-xr-x2741/CH5/EX5.19/Chapter5_Example19.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/2741/CH5/EX5.19/Chapter5_Example19.sce b/2741/CH5/EX5.19/Chapter5_Example19.sce
new file mode 100755
index 000000000..e3f1cf328
--- /dev/null
+++ b/2741/CH5/EX5.19/Chapter5_Example19.sce
@@ -0,0 +1,13 @@
+clc
+clear
+//Input data
+v=8;//The speed of the earths first satellite in km/s
+R=8.3*10^7;//The Universal gas constant in ergs/g mol-K
+M=2;//Molecular weight of hydrogen
+
+//Calculations
+V=v*10^5;//The speed of the earths first satellite in cm/s
+T=(M*V^2)/(3*R);//The temperature at which it becomes equal in K
+
+//Output
+printf('The temperature at which the r.m.s velocity of a hydrogen molecule \n will be equal to the speed of earths first satellite is T = %3.4g K',T)