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.38/Ex3_38.sce | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 2780/CH3/EX3.38/Ex3_38.sce (limited to '2780/CH3/EX3.38') diff --git a/2780/CH3/EX3.38/Ex3_38.sce b/2780/CH3/EX3.38/Ex3_38.sce new file mode 100755 index 000000000..deb8bf540 --- /dev/null +++ b/2780/CH3/EX3.38/Ex3_38.sce @@ -0,0 +1,10 @@ +clc +//to calculate resolving power of grating +N=15000 //total number of lines on grating +lambda=6*10^-5 //wavelength in cm +n=2 //order of spectrum +RP=n*N +disp("resolving power is RP ="+string(RP)+"unitless") +//to calculate smallest wavelength difference that can be resolved with a light of wavelength 6000angstrom in the second order +dlambda=lambda/(n*N) +disp("smallest wavelength difference dlambda="+string(dlambda)+"cm") -- cgit