summaryrefslogtreecommitdiff
path: root/3718/CH7/EX7.6/Ex7_6.sce
blob: 7fae9846711e4b7f628180a07026cf394cd0f795 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Chapter 7: Solid State
//Problem: 6
clc;

//Declaration of Variables
l = 2 * 10 ** - 10  //in m
t = 30              //in degrees

// Solution
mprintf("For first-order reflection\n")
d = l / (2 * sin(t))
dist = 2 * d
mprintf(" Hence, distance between planes is : %.0e m ",abs(dist))