sage: var('t')
t
sage: g1=4*t^2 + 3*t + 1
sage: g2(t)=4*t^2 + 3*t +1
sage: g1(2)
/Users/wdj/sagefiles/SageMath/local/lib/python2.7/site-packages/IPython/core/interactiveshell.py:2885:
DeprecationWarning: Substitution using function-call syntax and
unnamed arguments is deprecated and will be removed from a future
release of Sage; you can use named arguments instead, like EXPR(x=...,
y=...)
See
http://trac.sagemath.org/5930 for details.
exec(code_obj, self.user_global_ns, self.user_ns)
23
sage: g1(t=2)
23
sage: g2(2)
23
Does that help?
>
> Best
>
> Huayi