summaryrefslogtreecommitdiff
path: root/2885/CH14/EX14.1/ex14_1.sce
blob: a4a375e93a5a0f70cbc6c47abe9d7d5968a9963d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Calculate voltage gain and input and output resistance
clear;
clc;
//soltion
//given

R1=20*10^3;//ohm
Rf=2000*10^3;//ohm
Acl=-Rf/R1;
Ricl=R1;
Ro=0;
printf("The voltage gain= %.0f\n",Acl);
printf("The input resistance =%.0f kΩ\n",R1/1000);
printf("The output resistance =%.0f Ω\n",Ro);