Hi Omar Benavente,
I understand that you have an equation "u(0,t) = 1" and you want to differentiate this equation with respect to "x" to obtain "ux(0,t)".
To define an equation in terms of "x", you need to first make "x" a symbolic object. Refer to the following documentation for more information on "syms" and how to make a variable into a symbolic object-
Then you have to define "u(0,t)" in terms of the symbolic object "x". Afterwards, you can use the "diff" function to differentiate "u(0,t)" to obtain "ux(0,t)". Refer to the following documentation for more information on how to use "diff" function with symbolic objects-
I hope this helped in solving the issue you were facing.
Thank you,
Shushant