summaryrefslogtreecommitdiff
path: root/1409/CH8/EX8.13/8_13.sce
blob: 4cd3bd6660907b1471b1c0c04e7a2b2321a3344d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clc;
//page no 8-52
//Example 8.13
fs=1500*10^3;//in Hz
fi=455*10^3;//in Hz
alpha=75;
fsi=[fs+(2*fi)]*10^(-3);
disp(+'kHz',fsi,'Image frequency is ');
rho=([fsi*10^3]/fs)-(fs/[fsi*10^3]);
//Rounding of rho to 0.984
rho1=0.984;
//We know that image frequency is given as alpha=sqrt(1+Q^2*rho^2)
//alpha^2-1=Q^2*rho^2
Q=sqrt([alpha^2-1]/rho1^2);
disp(Q,'Q of the tuned circuit is ');