summaryrefslogtreecommitdiff
path: root/1511/CH7/EX7.9/ex7_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '1511/CH7/EX7.9/ex7_9.sce')
-rwxr-xr-x1511/CH7/EX7.9/ex7_9.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/1511/CH7/EX7.9/ex7_9.sce b/1511/CH7/EX7.9/ex7_9.sce
new file mode 100755
index 000000000..281a74096
--- /dev/null
+++ b/1511/CH7/EX7.9/ex7_9.sce
@@ -0,0 +1,24 @@
+// Example 7.9 page no-424
+clear
+clc
+
+Rc=4
+Rb=40
+Rs=10
+hie=1.1
+hfe=50
+hre=0
+hoe=0
+
+Rcdash=Rc*Rb/(Rc+Rb)
+R=Rs*Rb/(Rs+Rb)
+Rm=-hfe*Rcdash*R/(R+hie)
+Rm=floor(Rm)
+printf("\nTransresistance Rm=%d k",Rm)
+B=-1/(Rb)
+D=1+B*Rm
+Rmdash=Rm/D
+Avdash=Rmdash/Rs
+Ri=R*hie/(R+hie)
+Ridash=Ri/D
+printf("\nBeta=%.3f mA/V\nRm_dash=%dk Ohm\nAv_dash=%f\nRi=%f k Ohm\nRi_dash=%fk Ohm",B,Rmdash,Avdash,Ri,Ridash)