First time here? Check out the FAQ!
answered 2021-11-09 12:59:21 +0100
Use r=r1.subs({q:1/q}) instead of r=r1.subs(q=1/q).
r=r1.subs({q:1/q})
r=r1.subs(q=1/q)