summaryrefslogtreecommitdiff
path: root/929/CH6/EX6.5/Example6_5.sce
blob: 2a6b7f6725cc1ec01d38dd089581212ae068ca7f (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//Example 6.5

clear;

clc;

rd=1*10^6;

rc=1*10^9;

a0=10^5;

ro=100;

ft=1*10^6;

R1=2*10^3;

R2=18*10^3;

b=R1/(R1+R2);

fb=ft/a0;

fB=b*ft;

Rp=ro;

Rs=ro/(1+(a0*b));

Leq=ro/(2*%pi*fB);

printf("Element Values in the Equivalent Circuit of Zo :");

printf("\nRs=%.f mohms",Rs*10^(3));

printf("\nRp=%.2f ohms",Rp);

printf("\nLeq=%.f uH",Leq*10^6);

printf("\n\nBreakpoint Frequencies of Magnitude Plot :");

printf("\nfb=%.2f Hz",fb);

printf("\nft=%.2f MHz",ft*10^(-6));