What about something like:

sage: t = var('t')
sage: Omega = function('Omega')
sage: quanti = Omega(t)*cos(t) + diff(Omega(t), t)
sage: quanti
Omega(t)*cos(t) + diff(Omega(t), t)
sage: Omega0 = var('Omega0')
sage: Omega_const(t) = Omega0
sage: quanti.substitute_function(Omega, Omega_const)
Omega0*cos(t)


Eric. 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to