blob: 3a6770a5dcb6b9dea6a85bc06d6032a3d8ac109c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
//Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex3_11.sce
clc;
clear;
R=10e3; //Resistance in ohm
L=50.7e-6; //Inductor value in henry
C=500e-12; //capacitor value in farad
fr=1/(2*%pi*sqrt(L*C));
printf("\n Resonance frequency=%1.0f MHz \n",fr*1e-6)
Q=(1/R)*sqrt(L/C);
printf("\n Quality factor=%1.5f \n",Q)
f1=(-fr/(2*Q))+(fr*sqrt((1/(2*Q))^2+1));
printf("\n Lower half power frequency=%2.1f kHz \n",f1*1e-3)
f2=(fr/(2*Q))+(fr*sqrt((1/(2*Q))^2+1));
printf("\n Upper half power frequency=%5.1f kHz \n",f2*1e-3)
BW=f2-f1;
printf("\n Bandwidth=%5.0f kHz \n",BW*1e-3)
//Answer vary dueto round off error in fr , Q Calculation
|