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.20/Ex3_20.sce | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 2780/CH3/EX3.20/Ex3_20.sce (limited to '2780/CH3/EX3.20') diff --git a/2780/CH3/EX3.20/Ex3_20.sce b/2780/CH3/EX3.20/Ex3_20.sce new file mode 100755 index 000000000..d5aa37d94 --- /dev/null +++ b/2780/CH3/EX3.20/Ex3_20.sce @@ -0,0 +1,12 @@ +clc +//to calculate grating element +//grating equation for principal maxima is given by (e+d)*sintheta=n*lambda +//let nth order spectrum for yellow line (lambda=6000 angstrom) coincide with (n+1)th order spectrum for blue line (lambda=4800 angstrom) +//(e+d)*sintheta=n*6000*10^-8..eq(1) +//(e+d)*sintheta=(n+1)*4800*10^-8.....eq(2) +//from eq(1) and eq(2),we get n=4 +n=4 +lambda=6000*10^-8 //wavelength in cm +sintheta=3/4 +eplusd=n*lambda/sintheta +disp("grating element is eplusd="+string(eplusd)+"cm") -- cgit