summaryrefslogtreecommitdiff
path: root/3537/CH1/EX1.25/Ex1_25.sce
blob: a055c32e0f1fdf77984415ebdaf48adb5c781e35 (plain)
1
2
3
4
5
6
7
8
//Example 1_25
clc();
clear;
//To find the value of the slit width
lemda=6500                           //units in angstroam
theta=30                            //units in degrees
a=lemda/sin(theta*%pi/180)
printf("The value of the slit is %.0f angstroam",a)