summaryrefslogtreecommitdiff
path: root/2045/CH7/EX7.4/Ex7_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '2045/CH7/EX7.4/Ex7_4.sce')
-rwxr-xr-x2045/CH7/EX7.4/Ex7_4.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2045/CH7/EX7.4/Ex7_4.sce b/2045/CH7/EX7.4/Ex7_4.sce
new file mode 100755
index 000000000..74fa5a064
--- /dev/null
+++ b/2045/CH7/EX7.4/Ex7_4.sce
@@ -0,0 +1,15 @@
+//pagenumber 372 example 4
+clear
+ids=4*10^-3;//ampere
+vp=4;//volt
+r=1.3*10^3//ohm
+r1=200*10^3;//ohm
+vdd=60;//volt
+drares=18*10^3;//ohm
+soresi=4*10^3;//ohm
+rth=(r*r1)/(r+r1);
+vth=r1*(1-vdd)/(1500*10^3);
+id=-2.25*10^-3;
+vds=-vdd-(drares+soresi)*id;
+disp("id = "+string(abs(id))+"ampere");
+disp("vds = "+string(abs(vds))+"volt");