blob: 66f08c0150f18566d46b668d5f5b7af38e3e9898 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//Chapter-5, Example 5.35, Page 198
//=============================================================================
clc
clear
//INPUT DATA
Q=250;//quality factor
fr=1.5*10^6;//resonant freq in hertz
//CALCULATIONS
Bw=(fr)/(Q);//bandwidth in Hz
hf1=fr+Bw;//half power freq 1
hf2=fr-Bw;//half power freq 2
mprintf("Thus bandwidth is %d hz\n",Bw);
mprintf("Thus value of half-power frequencies are %g hz and %g hz",hf1,hf2);
//=================================END OF PROGRAM======================================================================================================
|