summaryrefslogtreecommitdiff
path: root/929/CH2/EX2.7/Example2_7.sce
blob: b4c31747839e4dd3e5bce10a40586c4e34b2db07 (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
//Example 2.7

clear;

clc;

R1=15*10^3;

R2=3*10^3;

R3=R1;

R4=R2;

a=200*10^3;

Ro1num=R1*R2;

Ro1den=R1+R2;

Ro1=Ro1num/Ro1den;

Ro2num=a;

Ro2den=(1+(R2/R1));

Ro2=Ro2num/Ro2den;

Ro=Ro1*(1+Ro2);//Output resistance

printf("Output Resistance (Ro)=%.f Mohms",Ro*10^(-6));