answersLogoWhite

0


Best Answer

The absolute value of a number is the value of the number before any decimal places are considered and ignoring any negative signs. for example, the absolute value of -5.98 is 5. You simply take the positive whole number value and ignore the numbers after the decimal point. The floor function drops anumber to the lowest whole number before the decimal point. For instance, 5.98 would become 5. However -5.98 would be -5. The negative sign matters in this instance. I have found an interesting relationship between the two functions to estimate a square root. sqrt(n) aproximately= [n +abs(floor(sqrt(n)))*abs(floor(sqrt(n)))]/(2*abs(floor(sqrt(n)))+1).

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is absolute value and floor function?
Write your answer...
Submit
Still have questions?
magnify glass
imp