summaryrefslogtreecommitdiff
path: root/1694/CH1/EX1.24/EX1_24.sce
blob: 41e31395e163eb94e69b9aa573f140ee44f5e658 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clear;
clc;
printf("\nEx1.24\n");
//page no.-34
//given
n=3;.....................//order
lambda=0.79*10^-10;......//wavelength in m
d=3.04*10^-10;..........//spacing in m
//from bragg's law

theta=asind((n*lambda)/(2*d))..........//angle in degrees

printf("\nangle is 22.942 degrees\n");