summaryrefslogtreecommitdiff
path: root/226/CH19/EX19.20/example20_sce.sce
diff options
context:
space:
mode:
Diffstat (limited to '226/CH19/EX19.20/example20_sce.sce')
-rwxr-xr-x226/CH19/EX19.20/example20_sce.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/226/CH19/EX19.20/example20_sce.sce b/226/CH19/EX19.20/example20_sce.sce
new file mode 100755
index 000000000..896e34466
--- /dev/null
+++ b/226/CH19/EX19.20/example20_sce.sce
@@ -0,0 +1,13 @@
+//chapter 19
+//example 19.20
+//page 865
+printf("\n")
+printf("given")
+Vcc=12;Rl=10;Rd=.5;gfs=2.5;R7=820;V9=1*10^3;R10=R9;
+Vp=(Vcc*Rl)/(Rd+Rl)
+Ip=Vp/Rl
+Vgs=Ip/gfs
+Vr7=Is*R7
+Vs=Vcc-Vr7-Vgs
+disp(" op-amp peak output voltage is")
+Vr9=(Vp*R9)/(R9+R10) \ No newline at end of file