Hi
I'm getting an error message for the symbolic evaluation.
Could you please help.
It is calling defined variables undefined.
Please help
Thanks
The symbolics can't deal with functions using if-commands or if-statements.
The symbolics always tries to simplify the function definition without using specific arguments and it fails of course as it can't decide whoch branch of the "if" to follow.
It may be possible to reformulate the functions using boolean expressions or the Heaviside-function instead of the if's but chances are you won't like the look of the derivate of such functions.