Difference between revisions of "Manuals/calci/ABS"

From ZCubes Wiki
Jump to navigation Jump to search
Line 4: Line 4:
 
*This function gives the absolute value of a given number.  
 
*This function gives the absolute value of a given number.  
 
*Here <math>n</math> is the real number which we want to convert to absolute value of <math>n</math>.
 
*Here <math>n</math> is the real number which we want to convert to absolute value of <math>n</math>.
*The absolute value of a real number is its distance from 0 on the number line.
+
*The absolute value of a real number is its distance from 0(origin) on the number line.
 
*Absolute value of a number is always <math>+ve</math>
 
*Absolute value of a number is always <math>+ve</math>
  

Revision as of 04:04, 26 November 2013

ABS(n)


  • Where is the any real number.

Description

  • This function gives the absolute value of a given number.
  • Here is the real number which we want to convert to absolute value of .
  • The absolute value of a real number is its distance from 0(origin) on the number line.
  • Absolute value of a number is always

Examples

  • ABS(8) = 8
  • ABS(-5) = 5
  • ABS(1/2) = 0.5
  • ABS(-1/4) = 0.25

See Also

References

Absolute_value