diff options
Diffstat (limited to '181/CH2/EX2.32')
-rwxr-xr-x | 181/CH2/EX2.32/example2_32.sce | 22 | ||||
-rwxr-xr-x | 181/CH2/EX2.32/example2_32.txt | 3 |
2 files changed, 25 insertions, 0 deletions
diff --git a/181/CH2/EX2.32/example2_32.sce b/181/CH2/EX2.32/example2_32.sce new file mode 100755 index 000000000..c0e37bcca --- /dev/null +++ b/181/CH2/EX2.32/example2_32.sce @@ -0,0 +1,22 @@ +// Find the range for R
+// Basic Electronics
+// By Debashis De
+// First Edition, 2010
+// Dorling Kindersley Pvt. Ltd. India
+// Example 2-32 in page 110
+
+clear; clc; close;
+
+// Given data
+P=250; // Maximum power dissipation in mW
+V=15; // Supply voltage in V
+
+// Caluclation
+I=(250*10^-3)/5;
+printf("Maximum permissible current = %0.3e A\n",I);
+printf("10 percent of 50mA = 5mA\n");
+I1=I-(5*10^-3);
+printf("Maximum current through diode to maintain constant voltage = %0.1e A",I1);
+
+// Result
+// Maximum current to maintain constant voltage = 45mA
\ No newline at end of file diff --git a/181/CH2/EX2.32/example2_32.txt b/181/CH2/EX2.32/example2_32.txt new file mode 100755 index 000000000..ec626f99c --- /dev/null +++ b/181/CH2/EX2.32/example2_32.txt @@ -0,0 +1,3 @@ +Maximum permissible current = 5.000e-002 A
+10 percent of 50mA = 5mA
+Maximum current through diode to maintain constant voltage = 4.5e-002 A
\ No newline at end of file |