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 --- 3669/CH4/EX4.11/11.sce | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 3669/CH4/EX4.11/11.sce (limited to '3669/CH4/EX4.11/11.sce') diff --git a/3669/CH4/EX4.11/11.sce b/3669/CH4/EX4.11/11.sce new file mode 100644 index 000000000..9df8441e9 --- /dev/null +++ b/3669/CH4/EX4.11/11.sce @@ -0,0 +1,15 @@ + +//Variable declaration +e=1.6*10**-19; +m=9.1*10**-31; //mass(kg) +h=6.63*10**-34; //planck's constant +V=344; //potemtial(V) +n=1; +theta=60; //angle(degrees) + +//Calculation +theta=theta*%pi/180; //angle(radian) +d=n*h/(2*sin(theta)*sqrt(2*m*V*e)); //interplanar spacing(m) + +//Result +printf('interplanar spacing is %0.3f angstrom \n',(d*10**10)) \ No newline at end of file -- cgit