Question: Declare generic function ...f(x,y,z,t) etc....

Hello,

when using Maple to do simple calculus I usually have to explicitly
state the dependence of each variable in the expression....for example

c*(1-cos(x[1](t)))+x[2](t)^2/2

is there a way to declare generic functions of a dependent variable
say

x1 = x1(t) or x2 = x2(x,y,z)

and avoid having to do it repeatedly in an expression?  I know i can use subs to replace patterns, but can you declare somthing like f(x,y,z,t) without giving the details?

Thank you

Please Wait...