How can I/Is it possible to derive a function which contains a max function built in?

Example:

y=10+2*max(10z+2 , 0)

Thank you very much for your attention

Printable View

- Jan 16th 2010, 05:17 PMabacus101max function derivative
How can I/Is it possible to derive a function which contains a max function built in?

Example:

y=10+2*max(10z+2 , 0)

Thank you very much for your attention - Jan 17th 2010, 01:43 AMdrumist
Rewrite it as a piecewise function first, i.e.,

$\displaystyle

y = \left\{ \begin{array}{ll}

20z+14, & \mbox{ if } z > -1/5 \\

10, & \mbox{ if } z \le -1/5

\end{array} \right.

$