First time here? Check out the FAQ!
answered 2017-02-02 15:37:16 +0100
Like this (for instance setting the integration constant to 2):
2
sage: sol2 = sol.subs({SR.var('_C'): 2}) sage: print("sol = {}".format(sol2)) sol = 2