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 /2825/CH8/EX8.6 | |
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 '2825/CH8/EX8.6')
-rwxr-xr-x | 2825/CH8/EX8.6/Ex8_6.sce | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/2825/CH8/EX8.6/Ex8_6.sce b/2825/CH8/EX8.6/Ex8_6.sce new file mode 100755 index 000000000..5df99cc10 --- /dev/null +++ b/2825/CH8/EX8.6/Ex8_6.sce @@ -0,0 +1,26 @@ +//Ex8_6 pg-436
+clc
+
+A=50 //voltage gain
+per=10/100 //percentage of negative feedback applied
+BA=per*A //value of Beta*A
+Af=A/(1+BA) //gain after negative feedback
+printf("(1) Voltage gain after negative feedback \n")
+printf(" = %.2f\n ",Af)
+
+A=50 //voltage gain
+per=5/100 //percentage of negative feedback applied
+BA=per*A //value of Beta*A
+Af1=A/(1+BA) //gain after negative feedback
+printf("(2) Voltage gain after negative feedback \n")
+printf(" = %.1f\n ",Af1)
+disp("So the new gain is not double the previous case")
+disp(" The difference between expected value and actual value of gain obtained is")
+diff_value=2*Af-Af1
+printf(" = %.2f",diff_value)
+
+printf("\n\n(3) To have the gain double of case(1) i.e 16.66,let the \n feedback introduced be Beta(assuming negative feedback)")
+Af=16.66 //voltage gain with negative feedback
+A=50 //voltage gain
+Beta=((A/Af)-1)/A //feedback in percentage
+printf("\n Beta = %.2f",Beta)
|