blob: c77c4dfea48f5b242b0efa84a261ed16c9149b38 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Exa 6.7
clc;
clear;
close;
format('v',6)
// Given data
Ao = -4;// in V/V
R_T= 100;// total resistance in k ohm
// R1+R_F= R_T (i)
// Ao= -R_F/R1 (ii)
R_F= R_T/(1-1/Ao);// in k ohm (From eq (i) and (ii))
R1= -R_F/Ao;// in k ohm
disp(R1,"The value of R1 in k ohm is");
disp(R_F,"The value of R_F in k ohm is");
|