blob: d771924bc2ef2c608628dec2ee626fd12f6da255 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//Example 2.31 //inductance and resistance
clc;
clear;
close;
//given data :
fo=1.2*10^6; // in Hz
C=160*10^-12; // in farad
f=6*10^3; // resonant frequency in Hz
f1=fo+f;
f2=fo-f;
F=f1-f2;
Q=fo/F;
R=F/((2*%pi*(fo)^2*C));
disp(Q,"Q factor,Q = ")
disp(R,"resistance,R(ohm) = ")
|