summaryrefslogtreecommitdiff
path: root/2780/CH3/EX3.30/Ex3_30.sce
diff options
context:
space:
mode:
Diffstat (limited to '2780/CH3/EX3.30/Ex3_30.sce')
-rwxr-xr-x2780/CH3/EX3.30/Ex3_30.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/2780/CH3/EX3.30/Ex3_30.sce b/2780/CH3/EX3.30/Ex3_30.sce
new file mode 100755
index 000000000..50e707371
--- /dev/null
+++ b/2780/CH3/EX3.30/Ex3_30.sce
@@ -0,0 +1,10 @@
+clc
+//to calculate maximum resolving power
+lambda=5*10^-5 //wavelength of light in cm
+N=40000 //total number of lines on grating
+//(e+d)=12.5*10^-5 cm
+//formula is nmax=(e+d)/lambda
+//we get
+nmax=2 //order of spectrum
+RP=nmax*N //RP=resolving power
+disp("the maximum resolving power is RP="+string(RP)+"unitless")