#absolute value
1 messages · Page 1 of 1 (latest)
It takes any number that is Negative and turns it into a positive number
Example | -3 | = 3
Absolute value of -3 is 3
@marsh ibex
Absolute value returns the magnitude of the input number, which is basically distance from zero
It will turn every negative number into a positive number, and positive numbers stay the same
Multiplying by -1 will reverse the sign of any number
You make it hard to understand
It’s not that deep 😭
Now you makin me feel dumb 💀
It's simple, but I'd rather give the detailed explanation so things are more clear
@marsh ibex @clear briar @robust stag
| X | = sqrt(X^2)
| -5 | = sqrt(-5^2) = sqrt(25) = 5
| 5 | = sqrt(5^2) = sqrt(25) = 5
Exact same thing with getting the magnitude of vectors, its just 2D
(X,Y,Z).magnitude = sqrt(X^2 + Y^2 + Z^2)
You guys are making this too complicated
All it does it take any number and make it into a positive
yeah or saying how much to add or subtract to make 0
which is the fancy way of saying distance from zero
which is the definition of magnitude
a number without the dash