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 /2498/CH5/EX5.20 | |
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 '2498/CH5/EX5.20')
-rwxr-xr-x | 2498/CH5/EX5.20/ex5_20.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/2498/CH5/EX5.20/ex5_20.sce b/2498/CH5/EX5.20/ex5_20.sce new file mode 100755 index 000000000..20f88a564 --- /dev/null +++ b/2498/CH5/EX5.20/ex5_20.sce @@ -0,0 +1,20 @@ +// Exa 5.20
+clc;
+clear;
+close;
+format('v',6)
+// Given data
+Vi= 10*10^-3;// input voltage in V
+A=1000;// open loop voltage gain
+Do= 10;//second harmonic distortion in %
+feedback= 40;//feedback in dB
+feedback= 10^(feedback/20);
+// feedback= 1+A*bita or
+bita= (feedback-1)/A
+Af= A/(1+A*bita);
+// New value of second harmonic distortion,
+Df= Do/(1+A*bita);// in %
+disp(Df," The new value of second harmonic distortion in % is : ")
+// New value of input required,
+Vs= Vi*(1+A*bita);// in V
+disp(Vs,"The new value of input required in volts is : ")
|