diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2330/CH16/EX16.2/ex16_2.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2330/CH16/EX16.2/ex16_2.sce')
-rwxr-xr-x | 2330/CH16/EX16.2/ex16_2.sce | 21 |
1 files changed, 21 insertions, 0 deletions
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 : ")
|