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.1 | |
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.1')
-rwxr-xr-x | 2825/CH8/EX8.1/Ex8_1.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/2825/CH8/EX8.1/Ex8_1.sce b/2825/CH8/EX8.1/Ex8_1.sce new file mode 100755 index 000000000..312ecce92 --- /dev/null +++ b/2825/CH8/EX8.1/Ex8_1.sce @@ -0,0 +1,19 @@ +//Ex8_1 pg-434
+clc
+
+A=120 //amplification gain
+Vi=50*10^(-3) //input voltage
+Beta=0.1 //feedback factor
+
+Vo= A*Vi //output voltage without feedback
+printf("Input signal = %.2f V \n",Vo)
+
+Vs=Vi-Beta*Vo
+//input signal +ve output because of -ve feedback (calue in texxtbook is wrong)
+printf(" Input signal = %.2f V \n",abs(Vs))
+
+vg=A/(1+Beta*A) //voltage gain
+printf(" Gain after feedback = %.1f \n",vg)
+
+fb=(-1)*20*log10(1+(Beta*A))
+printf(" Feedback (db)= %.3f \n",fb)
|