summaryrefslogtreecommitdiff
path: root/2825/CH3/EX3.19/Ex3_19.sce
blob: 8fdfac09fc096d803cd4f31fceaf124d672c19e4 (plain)
1
2
3
4
5
6
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)