| Author |
Comment/Response |
Nick
|
04/06/12 12:09pm
Hello-
I am having an issue where wrapping a set of operations on a function return different results from when I execute them manually.
For instance:
g[x_] := FullSimplify[x^(1/2), {x > 0, Element[x, Reals]}]
In[28]:= g[x^2]
Out[28]= Abs[x]
And yet...
In[30]:= FullSimplify[(x^2)^(1/2), {x > 0, Element[x, Reals]}]
Out[30]= x
How can I get g[x^2] to return x instead of Abs[x]?
Thanks!
URL: , |
|