CoderDrag0n8 He/They Posted May 21 Posted May 21 23 hours ago, Through the Living Hopper said: Why did you use abs? 14 because sqrt(1) = +/- 1 given that both 1^2 and (-1)^2 equal 1, the inverse of ^2 (which is sqrt) must give both answers, meaning without the abs() it would be +/- 93
Through the Living Hopper He/Him Posted May 21 Posted May 21 11 minutes ago, CoderDrag0n8 said: because sqrt(1) = +/- 1 given that both 1^2 and (-1)^2 equal 1, the inverse of ^2 (which is sqrt) must give both answers, meaning without the abs() it would be +/- 93 Oh yeah, you're right 94
CoderDrag0n8 He/They Posted May 21 Posted May 21 1 minute ago, Through the Living Hopper said: Oh yeah, you're right 94 Yeah it's my biggest math pet peeve you can easily and simply express the +/- symbol with sqrt(x^2) unless you are trying to explain why it is sqrt(x^2) is the +/- symbol, in which you have to dig through the friggin unicode and find the = sign with a line through it or just go like +/- which is signifigantly more ambiguous. 95
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now