1 | initial version |
Here is a stupid method::
var('x,y')
f(x) = log(x)
g(x) = solve(x == f(y), y)[0].rhs()
print g
Here is a compilation from several scattered sources:
2 | fixed spelling |
Here is a stupid method::method:
var('x,y')
f(x) = log(x)
g(x) = solve(x == f(y), y)[0].rhs()
print g
Here is a compilation from several scattered sources: