{ "metadata": { "name": "", "signature": "sha256:953d26fb666c1230bc683887cd7369146814cb5c3509af93cb69a75904089e3f" }, "nbformat": 3, "nbformat_minor": 0, "worksheets": [ { "cells": [ { "cell_type": "heading", "level": 1, "metadata": {}, "source": [ "Chapter 7 oscilloscope" ] }, { "cell_type": "heading", "level": 2, "metadata": {}, "source": [ "Example 7.1 Page no 222" ] }, { "cell_type": "code", "collapsed": false, "input": [ "#Given\n", "V=0.5 #Volts\n", "n=3\n", "\n", "#Calculation\n", "V1=V*n\n", "\n", "#Result\n", "print\"Peak to peak amplitude of the signal is \", V1,\"Vp-p\"" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ "Peak to peak amplitude of the signal is 1.5 Vp-p\n" ] } ], "prompt_number": 4 }, { "cell_type": "heading", "level": 2, "metadata": {}, "source": [ "Example 7.2 Page no 223" ] }, { "cell_type": "code", "collapsed": false, "input": [ "#Given\n", "t=2*10**-6 #s\n", "n=4\n", "\n", "#Calculation\n", "T=t*n\n", "f=(1/T)*10**-3\n", "\n", "#Result\n", "print\"Frequency of the signal is \", f,\"KHz\"" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ "Frequency of the signal is 125.0 KHz\n" ] } ], "prompt_number": 8 } ], "metadata": {} } ] }