1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Chapter 8: Polarization"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 8.2: Polarizer.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"clc;clear;\n",
"//Example 8.2\n",
"//Polarizer,calculation of angle\n",
"\n",
"//given values\n",
"Io=1;//intensity of polarised light\n",
"I1=Io/2;//intensity of beam polarised by first by first polariser\n",
"I2=Io/3;//intensity of light polarised by second polariser\n",
"\n",
"\n",
" //calculation\n",
"a=acos(sqrt(I2/I1));\n",
"alpha=a*180/%pi;//conversion of angle into degree\n",
"disp(alpha,'angle between characteristic directions (in degree) is');"
]
}
,
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 8.3: calculation_of_birefringence.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"clc;clear;\n",
"//Example 8.3\n",
"//calculation of birefringence\n",
"\n",
"//given values\n",
"\n",
"l=6*10^-7;//wavelength of light in metre\n",
"d=3*10^-5;//thickness of crystal\n",
"\n",
"\n",
" //calculation\n",
" x=l/(4*d);\n",
"disp(x,'the birefringance of the crystal is');"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Scilab",
"language": "scilab",
"name": "scilab"
},
"language_info": {
"file_extension": ".sce",
"help_links": [
{
"text": "MetaKernel Magics",
"url": "https://github.com/calysto/metakernel/blob/master/metakernel/magics/README.md"
}
],
"mimetype": "text/x-octave",
"name": "scilab",
"version": "0.7.1"
}
},
"nbformat": 4,
"nbformat_minor": 0
}
|