Hi All,
When copied from another notebook (not mine) the
expression calculates. But when I type in a
version with the exact same appearance, it doesn’t
work.
Syntax::sntxf: “(” cannot be followed by “0,0,0,1)”.
Syntax::tsntxi: “0,0,0,1” is incomplete; more input is needed.
Syntax::sntxi: Incomplete expression; more input is needed .
I’ve experimented with matching parentheses, but I haven’t
been successful so far. What trick am I missing?
What appears as an exponent in the formated version of the code you posted (the image on teh bottom) is, in fact, not an exponent. It is the formatted form for the partial derivative in question. So, for example, if you execute this,
D[f[x, y], y]
and then ask for it’s InputForm, you will see the internal representation that you would need to use if you were to write it out in an InputForm: