2amitprakash Wrote:Thanks nitin! But your explanation also has the same issue which I have in my solution. What if I consider sqrt(25) = -5?
you can't consider that, because that's wrong.
the "√" symbol (i.e., the thing you're writing as "sqrt") is ALWAYS non-negative. that is how it's defined.
The correct solution for sqrt(x2) can be thought of as |x| and then the puzzles fit in.
this is correct. it's not just "thought of" as |x|; it actually IS |x|.
...because |x| is always non-negative. this fits the definition of "√" precisely.