# Derivatives in scripts [closed]

I have consistently been harrowed by this tiny issue.

When I Try to run my Mathematica script, I get this error message:

Syntax::syntyp: \ operators can only be used between .

Syntax::com: Warning: Comma encountered with no adjacent expression. >
The expression will be treated as Null.  (line 27 of
"./L_3Lambda_max_1wl_zg_E_0001_Cos_fbc").

Syntax::sntx: Invalid syntax in or before "\!$$\*SuperscriptBox[\(h$$, >
\* " (line 27 of
"./L_3Lambda_max_1wl_zg_E_0001_Cos_fbc").


This suggests that the code doesn't like my 1st and 3rd derivative boundary conditions starting line 26. What syntax do I need to specify these boundary conditions?

I have not had an issue running this as a stand alone notebook with the same boundary conditions (albeit a slightly different problem) solving the same 4th order nonlinear PDE.

All files required are attached and linked through hyperlinks in this post.

## Edit:

I even tried copying my boundary conditions as plain text and tried this but to no avail:

h^(1, 0, 0)[0, y, t] == 0,
h^(1, 0, 0)[L, y, t] == 0,
h^(0, 1, 0)[x, 0, t] == 0,
h^(0, 1, 0)[x, L, t] == 0,
h^(3, 0, 0)[0, y, t] == 0,
h^(3, 0, 0)[L, y, t] == 0,
h^(0, 3, 0)[x, 0, t] == 0,
h^(0, 3, 0)[x, L, t] == 0,

-
Try copying as InputForm. h^(1, 0, 0) (for example) is meaningless to Mathematica and is not even syntactically correct; it is just a compact visual representation of the true structure: Derivative[1, 0, 0][h]. – Oleksandr R. Sep 16 '12 at 16:51
h^(1, 0, 0)[0, y, t] is not a meaningful Mathematica input syntax; try something like D[h[x, y, t], x] -- (1) (2) – Mr.Wizard Sep 16 '12 at 16:55
Hmmm... I will try these suggestions. Thanks., – drN Sep 16 '12 at 17:38
@OleksandrR. Your suggestion is the right answer. – drN Sep 16 '12 at 17:47

## closed as too localized by belisarius, rm -rf♦, Simon Woods, Oleksandr R., F'xSep 20 '12 at 12:27

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.