summaryrefslogtreecommitdiff
path: root/1382/CH5/EX5.4/EX_5_4.sce
blob: c0d1ab1e17e3a139c842db03729f9a4803f74c4d (plain)
1
2
3
4
5
6
7
8
9
// Example 5.4:amplifier gain
clc;
clear;
close;
f=50;//frequency in hertz
Avm=150/0.707;//mid voltage gain
fh=20;//lower cut off  frequency in hertz
Avh= (Avm/(sqrt(1+(f/fh)^2)));//gain at upper cut off frequency
disp(Avh,"gain at upper cut off frequency")