summaryrefslogtreecommitdiff
path: root/1223/CH14/EX14.3/Ex14_3.sce
blob: 021e2b1ad785f3f0445ce64507d2aa29873fe5c2 (plain)
1
2
3
4
5
6
7
8
9
10
clear;
clc;
//Example 14.3
Aol=10^5;
Ri=10;
R1=10;
R2=R1;
Rif=(Ri*(1+Aol)+R2*(1+Ri/R1))/(1+R2/R1);
Rif=Rif*0.001;//Mohm
printf('\ninput resistance =%.fMOhm\n',Rif)