summaryrefslogtreecommitdiff
path: root/3754/CH28/EX28.3/28_3.sce
blob: 7604ada980977ff01a4afd9b275706b67906f9ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clear//

//Variables

fo = 1.0 * 10**6           //Resonant frequency (in Hertz)
Qo = 100.0                 //Quality factor

//Calculation

BW = fo / Qo               //Bandwidth (in Hertz)

//Result

printf("\n Bandwidth of the circuit is  %0.3f  kHz.",BW * 10**-3)