Difference between revisions of "Manuals/calci/ABS"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
*Absolute value of a number is always <math>+ve</math>. | *Absolute value of a number is always <math>+ve</math>. | ||
*This function is used to remove negative sign from a given number. | *This function is used to remove negative sign from a given number. | ||
− | *Absolute value is denoted by <math> | + | *Absolute value is denoted by <math>||</math>. |
*i.e.,ABS(Number)=|Number|. | *i.e.,ABS(Number)=|Number|. | ||
*Also <math>|7|=\sqrt{7^2}</math>. | *Also <math>|7|=\sqrt{7^2}</math>. |
Revision as of 00:05, 17 July 2016
ABS(Number)
- is indicating the real value.
Description
- This function gives the absolute value of a given number.
- Here is the real value which we want to find absolute value of that number.
- The absolute value of a real number is its distance from 0(origin) on the number line.
- Absolute value of a number is always .
- This function is used to remove negative sign from a given number.
- Absolute value is denoted by .
- i.e.,ABS(Number)=|Number|.
- Also .
ZOS
- The syntax is to calculate ABS in ZOS is .
- is indicating the real value.
- For e.g.,ABS(-16)*-ABS(-4)/((ABS(-4))^2*ABS(-2)).
Examples
- ABS(8) = 8
- ABS(-5) = 5
- ABS(1/2) = 0.5
- ABS(-1/4) = 0.25