summaryrefslogtreecommitdiff
path: root/Electronic_Communication_Systems/Chapter5.ipynb
diff options
context:
space:
mode:
authorhardythe12014-08-13 11:41:01 +0530
committerhardythe12014-08-13 11:41:01 +0530
commit7e82f054d405211e1e8760524da8ad7c9fd75286 (patch)
tree1790cf5a7460b48582da6c35417a85f3a1389a81 /Electronic_Communication_Systems/Chapter5.ipynb
parent98bff1c301dd3b8b14983037a8a483e3eae1796d (diff)
downloadPython-Textbook-Companions-7e82f054d405211e1e8760524da8ad7c9fd75286.tar.gz
Python-Textbook-Companions-7e82f054d405211e1e8760524da8ad7c9fd75286.tar.bz2
Python-Textbook-Companions-7e82f054d405211e1e8760524da8ad7c9fd75286.zip
adding book
Diffstat (limited to 'Electronic_Communication_Systems/Chapter5.ipynb')
-rwxr-xr-xElectronic_Communication_Systems/Chapter5.ipynb98
1 files changed, 98 insertions, 0 deletions
diff --git a/Electronic_Communication_Systems/Chapter5.ipynb b/Electronic_Communication_Systems/Chapter5.ipynb
new file mode 100755
index 00000000..c71801d8
--- /dev/null
+++ b/Electronic_Communication_Systems/Chapter5.ipynb
@@ -0,0 +1,98 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:41db786e06a01c332ebd11f188e721e6640c124416532b39896420ba483ab6cd"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 5: Pulse Modulation Techniques "
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.1, page no. 107"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "\n",
+ "# Variable Declaration\n",
+ "F_m = 4.00*pow(10,3) # Maximum Frequency Component in Message Signal (Hz)\n",
+ "\n",
+ "# Calculation\n",
+ "import math # Math Library\n",
+ "F_s = 2*F_m\t # Minimum Sampling Frequency using Sampling Theorem (Hz)\n",
+ "\n",
+ "# Result\n",
+ "print \"F_s >=(greater than or equal to)\",F_s/pow(10,3),\"kHz\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "F_s >=(greater than or equal to) 8.0 kHz\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.2, page no. 107"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "\n",
+ "# Variable Declaration\n",
+ "F1 = 500 # Single Tone Sine Wave Frequency in Message Signal (Hz)\n",
+ "F2 = 750 # Lowest Value Sound Frequency in Message Signal (Hz)\n",
+ "F3 = 1800 # Highest Value Sound Frequency in Message Signal (Hz)\n",
+ "\n",
+ "# Calculation\n",
+ "import math\t # Math Library\n",
+ "F_m = max(F1,F2,F3) # Maximum Frequency Component (Hz)\n",
+ "F_s = 2*F_m\t # Minimum Sampling Frequency using Sampling Theorem (Hz)\n",
+ "\n",
+ "# Result\n",
+ "print \"F_s >=(greater than or equal to)\",F_s,\"Hz\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "F_s >=(greater than or equal to) 3600 Hz\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file