If statement in programs
•
Model rocket engine
•
Thrust = 0 for t<0
•
Thrust = 100 for t>0 and t<5
•
Thrust = 80 for t>5 and t<20
•
Thrust = 0 for t>20