summaryrefslogtreecommitdiff
path: root/226/CH19/EX19.20/example20_sce.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /226/CH19/EX19.20/example20_sce.sce
parent7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff)
downloadScilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip
updated the code
Diffstat (limited to '226/CH19/EX19.20/example20_sce.sce')
-rwxr-xr-x226/CH19/EX19.20/example20_sce.sce24
1 files changed, 12 insertions, 12 deletions
diff --git a/226/CH19/EX19.20/example20_sce.sce b/226/CH19/EX19.20/example20_sce.sce
index 896e34466..e439f99bc 100755
--- a/226/CH19/EX19.20/example20_sce.sce
+++ b/226/CH19/EX19.20/example20_sce.sce
@@ -1,13 +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")
+//chapter 19
+//example 19.20
+//page 865
+printf("\n")
+printf("given")
+Vcc=12;Rl=10;R9 = 100;Rd=.5;gfs=2.5;R7=820;V9=1*10^3;R10=R9;Is=2.0*10^-3;
+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