From my understanding the Heaviside step function IS the if function in pure mathematics.
And Mathad's symbolics only deals with pure mathematics (hence no units either).
To show the power of Heaviside as the mathematical IF statement, I've changed the acceleration profile as below:
Image may be NSFW.
Clik here to view.
Which gives velocity by integration:
Image may be NSFW.
Clik here to view.
And displacement by integration of velocity:
Image may be NSFW.
Clik here to view.
Luc