summaryrefslogtreecommitdiff
path: root/446/CH11/EX11.1/11_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /446/CH11/EX11.1/11_1.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 '446/CH11/EX11.1/11_1.sce')
-rwxr-xr-x446/CH11/EX11.1/11_1.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/446/CH11/EX11.1/11_1.sce b/446/CH11/EX11.1/11_1.sce
new file mode 100755
index 000000000..6a1c1c115
--- /dev/null
+++ b/446/CH11/EX11.1/11_1.sce
@@ -0,0 +1,10 @@
+clear
+clc
+disp('Exa-11.1(a)');
+c=769*10^3; Na=6.023*10^23; JeV=1.6*10^-19; //various constants and given values
+Be=c/(Na*JeV); //Binding energy of an ion pair in the lattice
+printf('The experimental value was found out to be %.4f eV.\n',Be);
+disp('Exa-11.1(b)');
+n=9;a=1.7476; R=0.281; k= 1.44; //Given values and consstants
+Bc=k*a*(1-(1/n))/R; //ionic binding energy eperimentally
+printf('The calculated value of the binding energy is %.4f eV.',Bc);