From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3411/CH5/EX5.5/Ex5_5.sce | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 3411/CH5/EX5.5/Ex5_5.sce (limited to '3411/CH5/EX5.5/Ex5_5.sce') diff --git a/3411/CH5/EX5.5/Ex5_5.sce b/3411/CH5/EX5.5/Ex5_5.sce new file mode 100644 index 000000000..2dbc4f144 --- /dev/null +++ b/3411/CH5/EX5.5/Ex5_5.sce @@ -0,0 +1,9 @@ +//Example 5_5 +clc(); +clear; +//To find out the interplanar spacing of the reflecting planes of the crystal +theta=28 //units in degrees +lamda=0.12 //units in nm +n=2 +d=(n*lamda)/(2*sin(theta*(%pi/180))) +printf("The interplanar spacing of the reflecting planes of the crystal is d=%.2fnm",d) -- cgit