From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2780/CH3/EX3.14/Ex3_14.sce | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 2780/CH3/EX3.14/Ex3_14.sce (limited to '2780/CH3/EX3.14') diff --git a/2780/CH3/EX3.14/Ex3_14.sce b/2780/CH3/EX3.14/Ex3_14.sce new file mode 100755 index 000000000..e974aa3a5 --- /dev/null +++ b/2780/CH3/EX3.14/Ex3_14.sce @@ -0,0 +1,15 @@ +clc +//to calculate number of lines in the grating +//theta1=theta2=30 degree +//sin theta1=sin theta2=1/2 +lambda1=6*10^-5 + //wavelength in cm +lambda2=4.5*10^-5 +//let (e+d)=E +//formula is (e+d)*sin theta1=n*lambda1----------eq(1) +//(e+d)*sin theta2=(n+1)*lambda2----------eq(2) +//we get, +n=lambda2/(lambda1-lambda2) //order of spectrum +E=n*lambda1/sin(%pi/6) +number=1/E +disp("number of lines is number="+string(number)+"unitless") -- cgit