summaryrefslogtreecommitdiff
path: root/181/CH2/EX2.28
diff options
context:
space:
mode:
Diffstat (limited to '181/CH2/EX2.28')
-rwxr-xr-x181/CH2/EX2.28/example2_28.sce24
-rwxr-xr-x181/CH2/EX2.28/example2_28.txt2
2 files changed, 26 insertions, 0 deletions
diff --git a/181/CH2/EX2.28/example2_28.sce b/181/CH2/EX2.28/example2_28.sce
new file mode 100755
index 000000000..dc4724f58
--- /dev/null
+++ b/181/CH2/EX2.28/example2_28.sce
@@ -0,0 +1,24 @@
+// Maximum forward current,forward resistance
+// Basic Electronics
+// By Debashis De
+// First Edition, 2010
+// Dorling Kindersley Pvt. Ltd. India
+// Example 2-28 in page 104
+
+clear; clc; close;
+
+// Given data
+P_max=2.5; // Maximum power in watt
+V_f=0.9; // Forward voltage in V
+I_max=2.2; // Maximum current in A
+
+// Calculation
+I_fmax=P_max/V_f;
+R_f=P_max/(I_max)^2;
+
+printf("(a)Maximum forward current = %0.2f A\n",I_fmax);
+printf("(b)Forward diode resistance = %0.3f ohm",R_f);
+
+// Result
+// Forward current = 2.78 A
+// Diode forward resistance = 0.517 ohm \ No newline at end of file
diff --git a/181/CH2/EX2.28/example2_28.txt b/181/CH2/EX2.28/example2_28.txt
new file mode 100755
index 000000000..3e47a8b93
--- /dev/null
+++ b/181/CH2/EX2.28/example2_28.txt
@@ -0,0 +1,2 @@
+(a)Maximum forward current = 2.78 A
+(b)Forward diode resistance = 0.517 ohm \ No newline at end of file