diff options
Diffstat (limited to '1271/CH13/EX13.21')
-rwxr-xr-x | 1271/CH13/EX13.21/21.txt | 1 | ||||
-rwxr-xr-x | 1271/CH13/EX13.21/example13_21.sce | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/1271/CH13/EX13.21/21.txt b/1271/CH13/EX13.21/21.txt new file mode 100755 index 000000000..a14edce77 --- /dev/null +++ b/1271/CH13/EX13.21/21.txt @@ -0,0 +1 @@ + Potential energy of molecule is -9.591258 eV.
\ No newline at end of file diff --git a/1271/CH13/EX13.21/example13_21.sce b/1271/CH13/EX13.21/example13_21.sce new file mode 100755 index 000000000..e0031ec54 --- /dev/null +++ b/1271/CH13/EX13.21/example13_21.sce @@ -0,0 +1,10 @@ +clc +// Given that +d = 0.15e-9 // distance between K(+) and Cl(-) in m +// Sample Problem 21 on page no. 13.32 +printf("\n # PROBLEM 21 # \n") +printf(" Standard formula used \n") +printf(" v = -1.6e-19 / (4 * pi * 8.85e-12 * d) \n") +v = -1.6e-19 / (4 * %pi * 8.85e-12 * d) +printf("\n Potential energy of molecule is %f eV.",v) + |