summaryrefslogtreecommitdiff
path: root/226/CH3/EX3.19
diff options
context:
space:
mode:
Diffstat (limited to '226/CH3/EX3.19')
-rwxr-xr-x226/CH3/EX3.19/example19_sce.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/226/CH3/EX3.19/example19_sce.sce b/226/CH3/EX3.19/example19_sce.sce
new file mode 100755
index 000000000..c1d4a1b32
--- /dev/null
+++ b/226/CH3/EX3.19/example19_sce.sce
@@ -0,0 +1,11 @@
+//chapter 3
+//example 3.19
+//page 114
+printf("\n")
+printf("given")
+E=9;Vf=.7;If=1*10^-3;
+Vo=E-Vf
+R1=Vo/If
+Vr=E;
+printf("diode forward voltage is %3.2fohm\n",Vr)
+printf("diode forward current is %3.3fA\n",If) \ No newline at end of file