summaryrefslogtreecommitdiff
path: root/1850/CH4/EX4.1/exa_4_1.sce
blob: 682d6b49ac0baf5acd4c7c842c02e38b1918f877 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Exa 4.1
clc;
clear;
close;
// Given data
Vin= 0.5;// in V
Av= 10;
I_B_max= 1.5;// in micro amp
I_B_max=I_B_max*10^-6;// in A
// Let
I1=100*I_B_max;// in A
R1= Vin/I1;// in ohm
Rf= Av*R1;// in ohm
// R2= R1 || Rf = R1 (approx.)
R2= R1;// in ohm
disp(I1*10^6,"Value of I1 in micro amp");
disp(R1*10^-3,"Value of R1 in kohm");
disp(R2*10^-3,"Value of R2 in kohm");
disp(Rf*10^-3,"Value of Rf in kohm");