summaryrefslogtreecommitdiff
path: root/modern_physics_by_Satish_K._Gupta/chap27_1.ipynb
blob: 9edfe7888d26630e0fa0c2eb4ef746996cc2ec65 (plain)
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
 "metadata": {
  "name": "",
  "signature": "sha256:c77b859962fb938dcd11a74749cd47ac07047d0f8605a1cc5e5320189808ac31"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Chapter 27 Polarisation of light "
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 27.1 Page no 758"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Given\n",
      "u=1.536\n",
      "\n",
      "#Calculation\n",
      "import math\n",
      "p=math.atan(u)*180/3.14\n",
      "r=90-p\n",
      "\n",
      "#Result\n",
      "print\"Angle of refraction is\", round(r,1),\"degree\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Angle of refraction is 33.0 degree\n"
       ]
      }
     ],
     "prompt_number": 5
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 27.2 Page no 758"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Given\n",
      "p=60                 #degree\n",
      "\n",
      "#Calculation\n",
      "import math\n",
      "u=math.tan(p*3.14/180.0)\n",
      "C=1/u\n",
      "C1=math.asin(C)*180/3.14\n",
      "\n",
      "#Result\n",
      "print\"Critical angle is\", round(C1,1),\"Degree\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Critical angle is 35.3 Degree\n"
       ]
      }
     ],
     "prompt_number": 24
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 27.3 Page no 758"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Given\n",
      "a=60                     #degree\n",
      "b=100\n",
      "\n",
      "#Calculation\n",
      "import math\n",
      "a1=90-a\n",
      "A=a/2.0\n",
      "I=(math.cos(A*3.14/180.0)**2)/2.0\n",
      "I0=b*I\n",
      "\n",
      "#result\n",
      "print\"Unpolarised light is\", round(I0,1),\"%\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Unpolarised light is 37.5 %\n"
       ]
      }
     ],
     "prompt_number": 30
    }
   ],
   "metadata": {}
  }
 ]
}