>
|
|
By default, the value of Heaviside at zero is undefined.
Convert the Heaviside function to a piecewise function.
>
|
|
>
|
|
>
|
|
To perform this conversion taking Heaviside(0) = 1 you can set a related handler.
>
|
|
>
|
|
| (10) |
To set the value of Heaviside(0) to or any other numerical value, replace by this value in the NumericEventHandler input line above. The invalid_operation event handler can be reset as follows.
>
|
|
For the particular case of computing with Heaviside representing a unit step, that is Heaviside(0) = 1, an alternative to setting a handler is to set the value of the Environment variable as seen below.
>
|
|
| (12) |
>
|
|
| (14) |