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 /2621/CH3/EX3.8 | |
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 '2621/CH3/EX3.8')
-rw-r--r-- | 2621/CH3/EX3.8/Ex3_8.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/2621/CH3/EX3.8/Ex3_8.sce b/2621/CH3/EX3.8/Ex3_8.sce new file mode 100644 index 000000000..3a9ee3ba3 --- /dev/null +++ b/2621/CH3/EX3.8/Ex3_8.sce @@ -0,0 +1,22 @@ +// Example 3.8
+clc;
+clear;
+close;
+// Given data
+format('v',8);
+Rf= 500*10^3;// in Ω
+R1= 5*10^3;//in Ω
+Vin= 0.1;// input voltage in V
+Af= -Rf/R1;// voltage gain
+Rin= R1;// input resistance in Ω
+Rin= Rin*10^-3;// in kΩ
+Rout= 0;// in Ω
+Vout= Af*Vin;// output voltage in V
+I_in= Vin/R1;// input current in A
+I_in= I_in*10^3;// in mA
+disp(Af,"The amplifier circuit voltage gain is : ");
+disp(Rin,"The amplifier circuit input resistance in kΩ is : ");
+disp(Rout,"The amplifier circuit output resistance in Ω is : ");
+disp(Vout,"The output voltage in volts is : ");
+disp(I_in,"The input current in mA is : ");
+
|