EXPLANATION:
1.take the constant and add speedometer to it.input named as Speed.
2.take the chart and enter inside it.
3.now take state chart and give them as gear1 and entry level is 1 and exit level is 0.
4.if condition is greater than 15 go to another otherwise return.
5.take another state chart and give them as gear2 and entry level is 1 and exit level is 0.
6.if condition is greater than 25 go to another chart otherwise condition is <=25 return.
7.take another state chart and give them as gear3 and entry level is 1 and exit level is 0.
8.if condition is greater than 40 go to another chart otherwise condition is <=40 return.
9. same repeat until gear 5 and speed value is above 61.
10.add lamps to each gears and make them as output and now run the programme.
EXPLANATION:
1.first take the constants as water supply and voltage with binory ID 0,1.
2.now take the chart and start our stateflow environment for chartflow.
3.take the state option and name it as a power with off and on separately.
4.if power on means water level indicates as low or high.
5.if water is low return it to power off.and put a lamp to indicate it.
6. power is on state it to soaking.
7.in soaking condition will apply upto 200seconds.
8.after it washing and it is upto 100 sec.
9.after washing state to rinsing for 20 sec.
10.next to drying for 50 sec and route it again to power off state.
11. all this process will be in Binary ID's 0 or 1.based on them lamps will be on or off.