summaryrefslogtreecommitdiff
path: root/74/CH1/EX1.3/example3_sce.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /74/CH1/EX1.3/example3_sce.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 '74/CH1/EX1.3/example3_sce.sce')
-rwxr-xr-x74/CH1/EX1.3/example3_sce.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/74/CH1/EX1.3/example3_sce.sce b/74/CH1/EX1.3/example3_sce.sce
new file mode 100755
index 000000000..8f17b8019
--- /dev/null
+++ b/74/CH1/EX1.3/example3_sce.sce
@@ -0,0 +1,15 @@
+// chapter 1
+// example 1.3
+//page 18
+Rin1=100;Rin2=100;Re=2.7*10^3;Rc=4.7*10^3;
+hfe=100;hie=1000;hoe=0;
+Aid=(hfe*Rc)/(Rin1+hie);//Differential gain
+disp(Aid)
+Acm=((2*Re*hoe-hfe)*Rc)/(2*Re*(1+hfe)+(Rin1+hie)*(1+2*Re*hoe));//comman mode gain
+Acm=-Acm// neglecting negative sign
+disp(Acm)
+CMRR=Aid/Acm
+CMRR=20*log10(CMRR);
+disp(CMRR)
+Rin=2*(Rin1+hie)//input resistance
+Ro=Rc//output resistance \ No newline at end of file