Question: how to combine an expression

I have, for example,

> x(t) := sin(a)*cos(t) + cos(a)*sin(t)
            x := t -> sin(a) cos(t) + cos(a) sin(t)
> y(t) := combine(x(t))
            y := t -> combine(x(t))

>y(t);
            sin(a + t)

> x(t);
            sin(a) cos(t) + cos(a) sin(t)

# wanted but cannot do this: x(t) := combine(x(t))

Any workaround?

Thanks.

Please Wait...