Taking absolute values of real numbers

Examples:

    1)
    |-3| = -(-3) = 3, since -3 < 0.

    2)
    |7| = 7, since 7 >= 0.

    3)
    |-4.5| = 4.5, since -4.5 < 0

    4)
    |4-pi| = 4-pi 
	since pi < 4 and both are greater that 0

    5)
    |1 - SQRT(2)| = SQRT(2) - 1, since 1 < SQRT(2) then 1 - SQRT(2) < 0.

Return to the tutorial