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 --- 2498/CH5/EX5.21/ex5_21.sce | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 2498/CH5/EX5.21/ex5_21.sce (limited to '2498/CH5/EX5.21') diff --git a/2498/CH5/EX5.21/ex5_21.sce b/2498/CH5/EX5.21/ex5_21.sce new file mode 100755 index 000000000..5dd0be0ff --- /dev/null +++ b/2498/CH5/EX5.21/ex5_21.sce @@ -0,0 +1,22 @@ +// Exa 5.21 +clc; +clear; +close; +format('v',6) +// Given data +D = 10/100; +Df = 1/100; +A = 200; +Vs = 10;// in mV +Vs = Vs * 10^-3;// in V +// Df = D/(1+A*Beta); +Beta = (((D/Df)-1)/A); +// gain with feedback +Af = A/(1+(A*Beta)); +disp(Af,"The gain with feedback is : "); +// The output voltage +Vo = Af*Vs;// in V +disp(Vo,"The output voltage in V is : "); +// The input voltage +Vin = Df+(-Beta*Vo);// in V +disp(Vin,"The input voltage in V is : "); -- cgit