summaryrefslogtreecommitdiff
path: root/317/CH13/EX13.15/example15.sce
blob: 634798a24e568c7461b3765924e0dacd73c82992 (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
// calculate voltage gain
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 13-15, page 450

clear; clc; close;

// Given data
Rs1=220;// in ohms
Rs2=780;// in ohms
Rl=3*10^3;// in ohms
gm=2000*10^-6;// transconductance in Seimen


// Calculations
Rs=Rs1+Rs2;// total dc source resistance in ohms
rs=Rs*Rl/(Rs+Rl);// ac drain resistance in ohms
Av=gm*rs/(1+(gm*rs));// voltage gain
disp(Av,"Votage gain=")

// Result
// voltage gain is 0.6