I have this equation:
EOM1 = Subscript[x1, t, t] + ω1^2*x1 /.
Subscript[x1_, m__] :> D[x1[x, t], m] /.
x1 -> x1[x, t]
The problem with the rule is that it doubles the argument. How can I avoid writing the arguments [x,t]
twice.
Thanks