Ask Your Question

dnlennonpu01's profile - activity

2016-11-02 21:14:23 +0100 received badge  Good Question (source)
2016-10-10 20:04:41 +0100 received badge  Nice Question (source)
2016-10-10 13:43:57 +0100 received badge  Student (source)
2016-10-10 13:42:26 +0100 asked a question solve x^y == z (for x)

I don't understand the behavior:

var('x','y','z'); assume(x>0, y>0, z>0); assume(x,y,z, 'real') solve(x^y==z, x)

generates a traceback error: "... Is y an integer?"

I can get the expected answer after adding

assume(y, 'integer')

but this seems like it should be unnecessary. Anyone know what is going on here?

thanks, Dustin