From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 275/CH5/EX5.5.23/Ch5_5_23.sce | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 275/CH5/EX5.5.23/Ch5_5_23.sce (limited to '275/CH5/EX5.5.23/Ch5_5_23.sce') 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 -- cgit