summaryrefslogtreecommitdiff
path: root/2825/CH3/EX3.19/Ex3_19.sce
diff options
context:
space:
mode:
Diffstat (limited to '2825/CH3/EX3.19/Ex3_19.sce')
-rwxr-xr-x2825/CH3/EX3.19/Ex3_19.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/2825/CH3/EX3.19/Ex3_19.sce b/2825/CH3/EX3.19/Ex3_19.sce
new file mode 100755
index 000000000..8fdfac09f
--- /dev/null
+++ b/2825/CH3/EX3.19/Ex3_19.sce
@@ -0,0 +1,7 @@
+//Ex3_19 Pg-193
+clc
+
+disp("We have Iv=40*iD")
+Iv=1 //luminous intensity
+iD=Iv/(40*10^(-3)) //LED current
+printf("LED current = %.0f mA",iD)