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 --- 2330/CH16/EX16.2/ex16_2.sce | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 2330/CH16/EX16.2/ex16_2.sce (limited to '2330/CH16/EX16.2/ex16_2.sce') diff --git a/2330/CH16/EX16.2/ex16_2.sce b/2330/CH16/EX16.2/ex16_2.sce new file mode 100755 index 000000000..ff8cce4ce --- /dev/null +++ b/2330/CH16/EX16.2/ex16_2.sce @@ -0,0 +1,21 @@ +// Example 16.2 +format('v',6) +clc; +clear; +close; +// given data +A=20000; +B= 0.02; +Vin= 1;// in mV +Vin= Vin*10^-3;// in V +// The closed loop voltage gain, +A_CL= A/(1+A*B); +// The output voltage, +Vout= Vin*A_CL;// in V +// The error voltage, +Verror= Vout/A;// in V +Vout= Vout*10^3;// in mV +Verror= Verror*10^6;// in µV +disp(A_CL,"The value of A_CL is : "); +disp(Vout,"The value of Vout in mV is : ") +disp(Verror,"The value of Verror in µV is : ") -- cgit