summaryrefslogtreecommitdiff
path: root/1979/CH9/EX9.9/Ex9_9.sce
blob: 13b06996a69a0bcad720b77a959e622d74ea638e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//chapter-9 page 412 example 9.9
//==============================================================================
clc;
clear;

//For an IMPATT diode
Lp=0.5*10^(-9);//Inductance in Henry
Cj=0.5*10^(-12);//Capacitance in Farad
Ip=0.8;//RF peak current in A
Rl=2;//Load Resistance in ohms
Vbd=100;//Breakdown Voltage in V
Ib=0.1;//dc Bias current in A

//CALCULATION
f=(1/(2*(%pi)*sqrt(Lp*Cj)))/10^9;//Resonant Frequency in GHz
n=((Rl*Ip^2)/(2*Vbd*Ib))*100;//Efficiency in Percentage

//OUTPUT
mprintf('\nResonant Frequency is f=%2.0f GHz \nEfficiency is n=%1.1f percentage',f,n);

//=========================END OF PROGRAM===============================