Question: How to composite vector functions?

December 21 2012 SandorSzabo 602

I have

f(x,y)=x y+x^2+1


g(t)=(2 t, 3 t).

I want to obtain the function (f o g)(t)  as a real-to-real one variable function.

What I tried:

f:=(x,y) -> x y+x^2+1,   it's ok;

g:=t -> <2 t, 3 t>,  it's ok.

But f@g  returns f@g.

How it would be possible to obtain f o g ?

Please Wait...