diff options
Diffstat (limited to '1652/CH4/EX4.2')
-rwxr-xr-x | 1652/CH4/EX4.2/4_2.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/1652/CH4/EX4.2/4_2.sce b/1652/CH4/EX4.2/4_2.sce new file mode 100755 index 000000000..573b97ad4 --- /dev/null +++ b/1652/CH4/EX4.2/4_2.sce @@ -0,0 +1,12 @@ +clc
+//Initialization of variables
+ma=1.0080
+mb=35.457
+Na=6.0232*10^23
+I=2.707*10^-40 //g cm^2
+//calculations
+mu1=ma*mb/(ma+mb)
+mu2=mu1/Na
+r=sqrt(I/mu2)
+//results
+printf("Bond length = %.2e cm",r)
|