summaryrefslogtreecommitdiff
path: root/1223/CH17/EX17.3/Ex17_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '1223/CH17/EX17.3/Ex17_3.sce')
-rwxr-xr-x1223/CH17/EX17.3/Ex17_3.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/1223/CH17/EX17.3/Ex17_3.sce b/1223/CH17/EX17.3/Ex17_3.sce
new file mode 100755
index 000000000..ddc4569d6
--- /dev/null
+++ b/1223/CH17/EX17.3/Ex17_3.sce
@@ -0,0 +1,19 @@
+clear;
+clc;
+//Example 17.3
+Vr=-1.05;
+Vbe=0.7;
+Vb5=Vr+Vbe;
+printf('\nVb5 =%.2fV\n',Vb5)
+R1=0.250;
+i1=-Vb5/R1;
+printf('\ni1=%.3f mA\n',i1)
+Vy=0.7;
+V2=-5.2;
+//let R1+R2=x
+x=(-2*Vy-V2)/i1;
+R2=x-R1;
+printf('\nR2=%.3f KOhm\n',R2)
+iS=i1;
+Rs=(Vr-V2)/iS;
+printf('\nRs=%.3f KOhm\n',Rs)