diff options
Diffstat (limited to '2885/CH10/EX10.5')
-rwxr-xr-x | 2885/CH10/EX10.5/ex10_5.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/2885/CH10/EX10.5/ex10_5.sce b/2885/CH10/EX10.5/ex10_5.sce new file mode 100755 index 000000000..c9f1f26f7 --- /dev/null +++ b/2885/CH10/EX10.5/ex10_5.sce @@ -0,0 +1,15 @@ +//Calculate the gain with and without feedback and feedback factor
+clear;
+clc;
+//soltion
+//given
+
+Vo_=5;//V //output voltage
+Vi=0.2;//V //input with feedback
+Vi_=0.05;//V //input without feedback
+A=Vo_/Vi_;
+Af=Vo_/Vi;
+printf("The gain without feedback is %.0f\n",A);
+printf("The gain with feedback is %.0f\n",Af);
+B=(A/Af-1)/A;
+printf("The feedback factor= %.0f percent",B*100);
|