Académique Documents
Professionnel Documents
Culture Documents
Start
Start
Function y=fcn(u)
a=mod(u*1000,10)
b=mod(u*1000,20)
yes
If
A<0
.14
no
P3,p4,p7,p8=o
n
yes
If
A<0
.44
no
P5,p6,p9,p11=o
n
yes
If
A<1
.12
no
P5,p6,p11,p12=
on
yes
If
A<1
.57
no
P3,p4,p5,p8=on
1
If
A<
2.4
44
yes
no
P3,p4,p5,p8=on
If
A<
2.9
yes
no
If
A<
3.2
4
yes
no
If
b<
10
STOP
P1,p4,p7,p8=on
yes
P8=ON,p7=off
else
P8=off,p7=on
P2,p3,p5,p8=on