diff options
Diffstat (limited to '275/CH6/EX6.6.32/Ch6_6_32.sce')
-rwxr-xr-x | 275/CH6/EX6.6.32/Ch6_6_32.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/275/CH6/EX6.6.32/Ch6_6_32.sce b/275/CH6/EX6.6.32/Ch6_6_32.sce new file mode 100755 index 000000000..302dad254 --- /dev/null +++ b/275/CH6/EX6.6.32/Ch6_6_32.sce @@ -0,0 +1,16 @@ +clc
+disp("Example 6.32")
+printf("\n")
+disp("Calculate Gain & input voltage")
+printf("Given")
+disp("Rf=100K,R1=10K")
+Rf=100*10^3
+R1=10^4
+//calculate voltage gain
+Af=1+(Rf/R1)
+Vo=4
+//calculate input voltage
+Vi=Vo/Af
+//display values
+printf("Closed loop gain =%f\n",Af)
+printf("Input voltage=%f volt",Vi)
|