summaryrefslogtreecommitdiff
path: root/1850/CH3/EX3.6/exa_3_6.sce
blob: f19443028261eeb5f7bac5ccb4fc1a0fdbd0373d (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
// Exa 3.6
clc;
clear;
close;
//given data
R1=330;// in  ohm
R_f=3.3;// in k ohm
R_f=R_f*10^3;// in ohm
R_in= 2;// in  M ohm
R_in=R_in*10^6;// in ohm
R_out=75;// in  ohm
A=2*10^5;
f_o=5;// in Hz
B= R1/(R1+R_f);
AB= A*B;
A_f = -R_f/R1;
disp(A_f,"Voltage gain")
R_inf= R1;
disp(R_inf,"Input Resistance in ohm")
R_outf= R_out/(1+A*B);// in ohm
disp(R_outf,"Output Resistance in ohm");
f_f= f_o*(1+A*B);// in Hz
disp(f_f*10^-3,"Bandwidth in kHz");