SafyanMajeed / symja

Automatically exported from code.google.com/p/symja
0 stars 0 forks source link

Bug in Power[] function #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
I call the function "Sqrt[x^2]"

What is the expected output? What do you see instead?
The expected output is Abs[x]. But the result I saw is x. 

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by huynhlam...@gmail.com on 15 Oct 2010 at 4:28

GoogleCodeExporter commented 9 years ago

Original comment by axelclk@gmail.com on 11 Nov 2010 at 7:34

GoogleCodeExporter commented 9 years ago
I changed the Power[] function:

Sqrt[x^2] now gives x^2^(1/2)

and
PowerExpand[Sqrt[x^2]] gives x

Original comment by axelclk@gmail.com on 11 Nov 2010 at 7:35

GoogleCodeExporter commented 9 years ago

Original comment by axelclk@gmail.com on 29 Nov 2010 at 9:10