summaryrefslogtreecommitdiff
path: root/3537/CH2/EX2.12/Ex2_12.sce
blob: 59126edcae4a47f455bf98057e656957c3a9d254 (plain)
1
2
3
4
5
6
7
8
//Example 2_12
clc();
clear;
//To find the half angular width of the central bright
lemda=6000*10^-10                   //units in meters
a=12*10^-7                        //units in meters
theta=asin(lemda/a)*180/%pi
printf("The half angular width of the central bright is %.0f degrees",theta)