diff options
Diffstat (limited to '317/CH5/EX5.15')
-rwxr-xr-x | 317/CH5/EX5.15/example15.sce | 23 | ||||
-rwxr-xr-x | 317/CH5/EX5.15/example15.txt | 1 |
2 files changed, 24 insertions, 0 deletions
diff --git a/317/CH5/EX5.15/example15.sce b/317/CH5/EX5.15/example15.sce new file mode 100755 index 000000000..5c6858874 --- /dev/null +++ b/317/CH5/EX5.15/example15.sce @@ -0,0 +1,23 @@ +// find average LED current +// Electronic Principles +// By Albert Malvino , David Bates +// Seventh Edition +// The McGraw-Hill Companies +// Example 5-15, page 170 + +clear;clc; close; + +// Given data +f=60;// frequency in hertz +C=0.68*10^-6;// capacitance in faradays +V=170;// voltage in volts + +// Calculations +Xc=1/(2*%pi*f*C);// capacitive resistance in ohms +Is1=V/Xc;// peak current in amperes +Is2=Is1/%pi;// average of the half-wave currnt through LED +disp("Amperes",Is2,"average LED current =") + +// Result +// Average LED current is 13.9 mAmperes + diff --git a/317/CH5/EX5.15/example15.txt b/317/CH5/EX5.15/example15.txt new file mode 100755 index 000000000..ab5f69aff --- /dev/null +++ b/317/CH5/EX5.15/example15.txt @@ -0,0 +1 @@ +Average LED current is 13.9 mAmperes |