blob: d5560b35041aaa70390854a7de95802b0bc79118 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//Caption:Design a non inverting amplifier by determining Required resistances and output voltage
//Ex5.1
clc;
clear;
close;
Av=28//Voltage gain
E=50//Input voltage(in mV)
Ib=500//Base current(in nA)
i=100*Ib*0.001
R3=E/i
Vo=Av*E*0.001
r=Vo*1000/i
R2=r-R3
R1=(R2*R3)/(R2+R3)
disp(R1,R2,R3,Vo,'Output voltage(in volts),Required resistances R3,R2 and R1(in kilo ohm)=')
|