summaryrefslogtreecommitdiff
path: root/1658/CH5/EX5.12/Ex5_12.sce
blob: 31ce39ea39951152969046e6a0b9c048f7049e28 (plain)
1
2
3
4
5
6
7
8
9
clc;
VS=5;
R=510;
VF=0.7;
VR=VS-0.7;
disp('V',VR*1,"VR=");
I=VR/R;
disp('mA',I*10**3,"I=");