summaryrefslogtreecommitdiff
path: root/1514/CH10/EX10.4/10_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '1514/CH10/EX10.4/10_4.sce')
-rwxr-xr-x1514/CH10/EX10.4/10_4.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/1514/CH10/EX10.4/10_4.sce b/1514/CH10/EX10.4/10_4.sce
new file mode 100755
index 000000000..6e3e15467
--- /dev/null
+++ b/1514/CH10/EX10.4/10_4.sce
@@ -0,0 +1,19 @@
+//chapter 10
+//example 10.4
+//page 296
+clear;
+clc ;
+//given
+R1=3.9 ;
+R2=2.2;//in Mohm
+Rl=27;
+Rs=1.5;//in kohm
+gm=4 ;//mA/V
+Rg=R1*R2/(R1+R2);
+Zi=Rg;
+Rp=1/gm;//in kohm
+Zo=1000*(Rs*Rp)/(Rs+Rp);
+Av=(gm*((Rs*Rl)/(Rs+Rl)))/(1+gm*((Rs*Rl)/(Rs+Rl)));
+printf('\nZi=%.1f Mohm',Zi)
+printf('\nZo=%d ohm',Zo)
+printf('\nAv=%.2f ',Av)