diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /623/CH27/EX5.5.7 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '623/CH27/EX5.5.7')
-rwxr-xr-x | 623/CH27/EX5.5.7/U5_C5_7.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/623/CH27/EX5.5.7/U5_C5_7.sce b/623/CH27/EX5.5.7/U5_C5_7.sce new file mode 100755 index 000000000..273cfbc1c --- /dev/null +++ b/623/CH27/EX5.5.7/U5_C5_7.sce @@ -0,0 +1,12 @@ +//variable initialization
+m1=1; //molar mass of H atom (amu)
+m2=35; //molar mass of Cl atom (amu)
+u=1.68*10^-27; //atomic mass unit (kg)
+v=2885.9*100; //wave no. of line (m-1)
+c=3*10^8; //Velocity of light (m/s)
+
+//calculation of force constant
+mu=((m1*m2)/(m1+m2))*u; //reduced mass of HCl molecule (kg)
+k=4*(%pi*c*v)^2*mu; //force constant of HCl molecule (N/m)
+
+printf("\n force constant = %.2f N/m",k);
|