summaryrefslogtreecommitdiff
path: root/275/CH6/EX6.6.37/Ch6_6_37.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /275/CH6/EX6.6.37/Ch6_6_37.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '275/CH6/EX6.6.37/Ch6_6_37.sce')
-rwxr-xr-x275/CH6/EX6.6.37/Ch6_6_37.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/275/CH6/EX6.6.37/Ch6_6_37.sce b/275/CH6/EX6.6.37/Ch6_6_37.sce
new file mode 100755
index 000000000..9c1117014
--- /dev/null
+++ b/275/CH6/EX6.6.37/Ch6_6_37.sce
@@ -0,0 +1,16 @@
+clc
+disp("example 6.37")
+printf("\n")
+disp("calculate voltage gain,input resistance,current through R1")
+printf("Given")
+disp("Rf=100k,R1=10k")
+disp("input voltage is 0.5v")
+Rf=10^5
+R1=10^4
+Af=-Rf/R1
+Rif=R1
+Vi=0.5
+I1=(Vi/R1)
+printf("closed loop voltage gain is %3.1f\n",Af)
+printf("input resistance is\n %3.1f ohm\n",Rif)
+printf("current flowing through R1 is %f ampere\n",I1)