summaryrefslogtreecommitdiff
path: root/1172/CH1/EX1.4/Example1_4.sce
blob: ca3ddcb829e8140cb85b8622068faa99e7ea25c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
clc
//Given that
beta=0.02//fringe width in cm
D=100// separation between source and screen in cm
u=30// separation between slit and convex lens in cm
I=0.7// separation between two images of slits on screen in cm
//Sample Problem4 Page No. 47
printf("\n # Problem 4 # \n")
printf(" \n Standard formula used \n beta=lambda*D/d \n")

v=100-u
O=I*u/v
d=O
lambda=d*beta/D*1e8
printf("\n Wavelength of light used is %d Angstrom.", lambda)