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.21/Ex3_21.sce | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 2780/CH3/EX3.21/Ex3_21.sce (limited to '2780/CH3/EX3.21') diff --git a/2780/CH3/EX3.21/Ex3_21.sce b/2780/CH3/EX3.21/Ex3_21.sce new file mode 100755 index 000000000..758dfd3e6 --- /dev/null +++ b/2780/CH3/EX3.21/Ex3_21.sce @@ -0,0 +1,13 @@ +clc +//to calculate angle of diffraction for third order spectrum and absent spectra if any +n=3 +lambda=6000*10^-8 +eplusd=1/200 +theta=asind(n*lambda/eplusd) +disp("angle of refraction is theta="+string(theta)+"degree") +d=0.0025 +e=eplusd-d //width of wire in cm +m=1 +n=eplusd*m/e +disp("order of absent spectrum is n="+string(n)+"unitless") +disp("here,m=1 is considered because the higher values of m result the order of absent spectrum more than the given order 3") -- cgit