Hello,
As for the syntax, I believe your second line should be
f = b*a^2;Unfortunately, LabVIEW MathScript does not support the syms command. In LabVIEW 8.2, the MathScript Node did not have automatic error handling. So, if you did not wire the error out terminal from the node, you would not see an error in the script.
While MathScript does not support symbolic differentiation, you can always compute the partial derivative yourself and write the function to call to evaluate it. For example:
function y = dfdb(a)
y = a^2;Grant M.
Staff Software Engineer | LabVIEW Math & Signal Processing | National Instruments