Question: Invalid derivative - HJB

I have a function (Hamilton-Jacobi-Bellman, HJB)

H:=(y,u,t)->y^(2)(t)+u^(2)(t)+1/(2)(x(t))^(4) +(∂)/(∂ x)(V(t))*u(t)

When I try to do

diff(H(y, u,t), u(t))

I get an invalid derivative error. Even if I remove the partial derivative, I still get the error. Does anyone know of to fix this?

Thanks

Please Wait...