blob: d8d57c6167a87c40810a855bda259b8847f974ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
clc
//
//
//
//Variable declaration
lambdaa=5000*10**-8 //Wavelength
theta=30 //Angular Width
//Calculations
thetarad=(%pi/180)*(theta)
sinetheta=sin(thetarad)
e=(lambdaa)/(sinetheta)
//Result
printf("\n The Width of the slit is %0.4f cm",e)
|