summaryrefslogtreecommitdiff
path: root/2045/CH2/EX2.8/Ex2_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '2045/CH2/EX2.8/Ex2_8.sce')
-rwxr-xr-x2045/CH2/EX2.8/Ex2_8.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/2045/CH2/EX2.8/Ex2_8.sce b/2045/CH2/EX2.8/Ex2_8.sce
new file mode 100755
index 000000000..93e116e84
--- /dev/null
+++ b/2045/CH2/EX2.8/Ex2_8.sce
@@ -0,0 +1,11 @@
+//pagenumber 104 example 8
+clear
+p=2;//watts
+voltaf=900*10^-3;//volt
+i1=p/voltaf;
+r1=voltaf/i1;
+disp("maximum forward current = "+string(i1)+"ampere");
+
+
+disp("forward diode resistance = "+string(r1)+"ohm");
+