summaryrefslogtreecommitdiff
path: root/2084/CH20/EX20.1w/20_1w.sce
blob: e2679ede3c1ef6e089867346453ab09f622456c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 20.1w
//calculation of the angular dispersion produced by a thin prism of the flint glass

//given data

mur=1.613//refractive index of flint glass for the red light
muv=1.632//refractive index of flint glass for the violet light
A=5//refracting angle(in degree)

//calculation
delta=(muv-mur)*A//angular dispersion

printf('the angular dispersion produced by the thin prism of the flint glass is %3.3f degree',delta)