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 /74/CH1/EX1.11/example11_sce.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 '74/CH1/EX1.11/example11_sce.sce')
-rwxr-xr-x | 74/CH1/EX1.11/example11_sce.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/74/CH1/EX1.11/example11_sce.sce b/74/CH1/EX1.11/example11_sce.sce new file mode 100755 index 000000000..bbdf41c60 --- /dev/null +++ b/74/CH1/EX1.11/example11_sce.sce @@ -0,0 +1,15 @@ +//chapter 1
+// example 1.11
+// page 35
+Rin=1000;Rc=1000;Re=2500000;// resistance is in ohm(given)
+Hfe=50;Hre=0;Hoe=0;Hie=1000;//given
+Vid=1*10^-3;Vc=20*10^-3// voltage in volts
+Aid=-(Hfe*Rc)/(Rin+Hie);// differential gain Aid
+Vout=Aid*Vid;// output voltage
+disp(Vout)//result in ampere.
+// to calculate CMRR we have to first find Acm common mode gain
+Acm=((2*Re*Hoe-Hfe)*Rc)/(2*Re*(1+Hfe)+Rin+Hie)// common mode gain
+CMRR=Aid/Acm;//CMRR
+disp(CMRR)//result
+CMRRdb=20*log10(CMRR);
+disp(CMRRdb)// result CMRR is in db
\ No newline at end of file |