summaryrefslogtreecommitdiff
path: root/3537/CH5/EX5.11
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3537/CH5/EX5.11
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3537/CH5/EX5.11')
-rw-r--r--3537/CH5/EX5.11/Ex5_11.sce22
-rw-r--r--3537/CH5/EX5.11/Ex5_11.txt2
2 files changed, 24 insertions, 0 deletions
diff --git a/3537/CH5/EX5.11/Ex5_11.sce b/3537/CH5/EX5.11/Ex5_11.sce
new file mode 100644
index 000000000..7efbb2207
--- /dev/null
+++ b/3537/CH5/EX5.11/Ex5_11.sce
@@ -0,0 +1,22 @@
+//Example 5_11
+clc();
+clear;
+//To find the wavenength and energy
+n=4
+a=107.87 //units in amu
+N=10500
+row=6.052*10^26
+a=((n*a)/(N*row))^(1/3)*10^10 //units in A
+h=1
+k=1
+l=1
+d=a/sqrt(h^2+k^2+l^2) //units in A
+theta=19. //units in degrees
+lamda=2*d*sin(theta*%pi/180) //units in A
+printf("Wavelength is lamda=%.2fA",lamda)
+lamda=lamda*10^-10 //units in meters
+
+h=6.625*10^-34 //Plancks constant
+c=3*10^8 //units in meter/sec
+energy=(h*c)/(lamda*1.6*10^-19) //units in eV
+printf("\n energy is =%d eV",energy)
diff --git a/3537/CH5/EX5.11/Ex5_11.txt b/3537/CH5/EX5.11/Ex5_11.txt
new file mode 100644
index 000000000..454e929a4
--- /dev/null
+++ b/3537/CH5/EX5.11/Ex5_11.txt
@@ -0,0 +1,2 @@
+Wavelength is lamda=1.53A
+ energy is =8099 eV \ No newline at end of file