1 | initial version |
I am not sure this is what you are looking for, but I hope this helps. If not let me know what you are looking for
t=var('t')
x=function('x')
y=function('y')
f=x(t)^3+y(t)^3
g=f.substitute_function(x,sin).substitute_function(y,cos)
g(pi)