summaryrefslogtreecommitdiff
path: root/1016/CH8/EX8.13/ex8_13.sce
blob: 951f4b516afc854ee3b4d24ba79309ba21655f4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clc;clear;
//Example 8.13

//given data
W=3*10^-10;//wavelength in m
D=40;//angle in degree
n=1;

//calculation
d=n*W/(2*sind(D));
disp((d/10^-10),'spacing in AU')
a=2*d;
v=a^3;
disp(v,'the volumne in m^3 is')