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/CH9/EX9.7/Ex9_7.sce | |
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/CH9/EX9.7/Ex9_7.sce')
-rwxr-xr-x | 2825/CH9/EX9.7/Ex9_7.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/2825/CH9/EX9.7/Ex9_7.sce b/2825/CH9/EX9.7/Ex9_7.sce new file mode 100755 index 000000000..97f35b813 --- /dev/null +++ b/2825/CH9/EX9.7/Ex9_7.sce @@ -0,0 +1,12 @@ +//Ex9_7 Pg-477
+clc
+
+R1=1.8 //resistor R1 in ohm
+R2=1.5*10^(3) //resistor R2 in ohm
+Iin=1*10^(-3) //input current in A
+
+Ai=1+(R2/R1) //Current gain
+printf("Current gain = %.0f \n",Ai)
+
+Il=Ai*Iin //Output current
+printf(" Output current = %.0f mA pp",Il*10^3)
|