summaryrefslogtreecommitdiff
path: root/863/CH5/EX5.1/Ex5_1.txt
diff options
context:
space:
mode:
Diffstat (limited to '863/CH5/EX5.1/Ex5_1.txt')
-rw-r--r--863/CH5/EX5.1/Ex5_1.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/863/CH5/EX5.1/Ex5_1.txt b/863/CH5/EX5.1/Ex5_1.txt
new file mode 100644
index 000000000..d5560b350
--- /dev/null
+++ b/863/CH5/EX5.1/Ex5_1.txt
@@ -0,0 +1,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)=') \ No newline at end of file