summaryrefslogtreecommitdiff
path: root/Modern_Electronics_Communication/chapter16.ipynb
diff options
context:
space:
mode:
authornice2014-10-09 18:07:00 +0530
committernice2014-10-09 18:07:00 +0530
commit8048392490bd2efe0fdfa001945f663cba969841 (patch)
treec298682dfb22073b17d86791c5e7a756f4aa1a92 /Modern_Electronics_Communication/chapter16.ipynb
parentb9ebc3adfe1cd0b17f061dd639a5c76329e09afa (diff)
downloadPython-Textbook-Companions-8048392490bd2efe0fdfa001945f663cba969841.tar.gz
Python-Textbook-Companions-8048392490bd2efe0fdfa001945f663cba969841.tar.bz2
Python-Textbook-Companions-8048392490bd2efe0fdfa001945f663cba969841.zip
updated books
Diffstat (limited to 'Modern_Electronics_Communication/chapter16.ipynb')
-rwxr-xr-xModern_Electronics_Communication/chapter16.ipynb134
1 files changed, 134 insertions, 0 deletions
diff --git a/Modern_Electronics_Communication/chapter16.ipynb b/Modern_Electronics_Communication/chapter16.ipynb
new file mode 100755
index 00000000..ab90f6a3
--- /dev/null
+++ b/Modern_Electronics_Communication/chapter16.ipynb
@@ -0,0 +1,134 @@
+{
+ "metadata": {
+ "name": ""
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 16 Microwaves and Lasers"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 16.1 Page no 753"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "h=0.3 #curve depth of parabolic reflector\n",
+ "D=3 #diameter of parabolic reflector\n",
+ "\n",
+ "#calculation\n",
+ "f=D/(16*h) #focal \n",
+ "\n",
+ "#result\n",
+ "print\"The focal length is \",f,\" m out from the center of the parabolic reflector\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The focal length is 0.625 m out from the center of the parabolic reflector\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 16.2 Page no 755"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "D=3.0 #diameter of microwave dish\n",
+ "k=0.6 #efficiency of reflector\n",
+ "c=2.997925*10**8 #velocity of light\n",
+ "f=10.0*10**9 #frequency\n",
+ "\n",
+ "#calculation\n",
+ "import math\n",
+ "Ap=10*math.log10((c/f)*k*((math.pi*D)**2/(c/f)**2)) #powergain\n",
+ "B=(70*(c/f))/D #beamwidth\n",
+ "\n",
+ "#result\n",
+ "print\"beamwidth = \",round(B,3),\"micrometer\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "beamwidth = 0.7 micrometer\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 16.3 Page no 756"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "D=4.5 #diameter of parabolic reflector\n",
+ "k=0.62 #efficiency factor\n",
+ "\n",
+ "#calculation\n",
+ "import math\n",
+ "Ae=(k*math.pi)*(D/2.0)**2 #aperture efficiency\n",
+ "i=(math.pi*(D/2.0)**2) #ideal capture area\n",
+ "\n",
+ "#result\n",
+ "print\"The ideal capture area for\",D,\"m\",\"1f m parabolic antenna is\",round(i,3),\"sq.m\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The ideal capture area for 4.5 m 1f m parabolic antenna is 15.904 sq.m\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file