summaryrefslogtreecommitdiff
path: root/275/CH5/EX5.5.23/Ch5_5_23.sce
diff options
context:
space:
mode:
Diffstat (limited to '275/CH5/EX5.5.23/Ch5_5_23.sce')
-rwxr-xr-x275/CH5/EX5.5.23/Ch5_5_23.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/275/CH5/EX5.5.23/Ch5_5_23.sce b/275/CH5/EX5.5.23/Ch5_5_23.sce
new file mode 100755
index 000000000..bcf5efe1c
--- /dev/null
+++ b/275/CH5/EX5.5.23/Ch5_5_23.sce
@@ -0,0 +1,20 @@
+clc
+disp("Example 5.23")
+printf("\n")
+disp("calculate closed-loop gain for the negative feedback amplifier")
+printf("Given\n")
+//voltage gain without feedback
+Av=100000
+//feedback factor
+B=1/100
+//voltage gain with feedback
+Acl=Av/(1+(B*Av))
+//when Av is changed by 50%
+Av1=50*100000/100
+Av2=Av+Av1
+//voltage gain with feedback when Av changed by +50%
+Acl1=Av2/(1+(B*Av2))
+//voltage gain with feedback when Av changed by -50%
+Av3=Av-Av1
+Acl2=Av3/(1+(B*Av3))
+printf("closed loop gain of negative feedback amplifier is \n %f \n",Acl2) \ No newline at end of file