HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by nailer | Hacker News Reader
Full thread
nailer
·
Isn't the square root of x squared just x?
View on HN
judofyr
·
Not for negative numbers. You could also just use the absolute value:
http://www.wolframalpha.com/input/?i=x^2%2B(y-|x|)^2%3D1
EDIT: Woah. You got your answer at least.
pohl
·
Exactly. It all comes down to abs.
shasta
·
|x|
garply
·
sqrt(-1^2) => 1
cj
·
When you square root things they become + or -
space-monkey
·
Not if x is negative.
Reply on news.ycombinator.com