{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Chapter 3: Linear Applications of IC OPamp" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Example 3.10: Design_a_band_pass_filter.sce" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "collapsed": true }, "outputs": [], "source": [ "//Ex 3.10\n", "clc;clear;close;\n", "format('v',5);\n", "fL=200;//Hz\n", "fH=1*1000;//Hz\n", "Ap=4;//band pass gain\n", "BW=fH-fL;//Hz\n", "f0=sqrt(fH*fL);//Hz\n", "fc=sqrt(fH*fL);//Hz\n", "Q=fc/BW;//Quality factor\n", "disp(Q,'Quality factor');\n", "disp('As Q<12 ; it is wide band filter');\n", "disp(fL,'Design values for high pass section with Ap1=2 & fL(Hz) :');\n", "Ap1=2;//band pass gain for high pass section\n", "C=0.033;//micro F(have to choose C, 0.01