summaryrefslogtreecommitdiff
path: root/226/CH2/EX2.9/example9_sce.sce
diff options
context:
space:
mode:
Diffstat (limited to '226/CH2/EX2.9/example9_sce.sce')
-rwxr-xr-x226/CH2/EX2.9/example9_sce.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/226/CH2/EX2.9/example9_sce.sce b/226/CH2/EX2.9/example9_sce.sce
new file mode 100755
index 000000000..d7a3adee4
--- /dev/null
+++ b/226/CH2/EX2.9/example9_sce.sce
@@ -0,0 +1,14 @@
+//chapter 2
+//example 2.9
+//page 48
+printf("\n")
+printf("given")
+P1=700*10^-3;Vf=.7;
+//at 25C
+If=P1/Vf;
+disp("If")
+//at 65C
+D=5*10^-3;T=65-25;
+P2=P1-D*T
+If=P2/Vf;
+printf( "maximum forward current at 65C is %3.3fA\n",If) \ No newline at end of file