diff options
Diffstat (limited to '226/CH2/EX2.5/example5_sce.sce')
-rwxr-xr-x | 226/CH2/EX2.5/example5_sce.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/226/CH2/EX2.5/example5_sce.sce b/226/CH2/EX2.5/example5_sce.sce new file mode 100755 index 000000000..4c925b7c8 --- /dev/null +++ b/226/CH2/EX2.5/example5_sce.sce @@ -0,0 +1,12 @@ +//chapter 2
+//example 2.5
+//page 41
+printf("\n")
+printf("given")
+E=1.5;Vf=.7;R1=10;rd=.25;
+disp("a)")
+If=(E-Vf)/R1;
+printf(" forward current is %3.3fmA\n",If)
+disp("b)")
+If=(E-Vf)/(R1+rd);
+printf(" forward current is %3.3fmA\n",If)
\ No newline at end of file |