Difference between revisions of "Manuals/calci/ABS"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div id="16SpaceContent" align="left"><div class="ZEditBox" align="justify"> Remarks </div></div> ---- <div id="2SpaceContent" align="left"><div class="ZEditBox" align...")
 
 
(17 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div id="16SpaceContent" align="left"><div class="ZEditBox" align="justify">
+
<div style="font-size:30px">'''ABS(Number)'''</div><br/>
 +
*<math>Number</math> is indicating the real value.
 +
**ABS(), returns the absolute value of a number.
  
Remarks
+
==Description==
  
</div></div>
+
*This function gives the absolute value of a given number.
----
+
*Here <math>Number</math> is the real value which we want to find absolute value of that number.
<div id="2SpaceContent" align="left"><div class="ZEditBox" align="justify">
+
*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>.
 +
*This function is used to remove negative sign from a given number.
 +
*Absolute value is denoted by <math>||</math>.
 +
*i.e.,ABS(Number)=|Number|.
 +
*Also <math>|7|=\sqrt{7^2}</math>.
  
Examples
+
==ZOS==
  
</div></div>
+
*The syntax is to calculate ABS in ZOS is <math>ABS(Number)</math>.
----
+
**<math>Number</math> is indicating the real value.
<div id="8SpaceContent" align="left"><div class="ZEditBox" align="justify">'''<font face="Times New Roman">''''''''''''<font size="6"> </font>''' '''''''''</font>'''</div></div>
+
*For e.g.,ABS(-16)*-ABS(-4)/((ABS(-4))^2*ABS(-2)).
----
+
{{#ev:youtube|Ii8bnaSEVkM|280|center|Absolute Value}}
<div id="11SpaceContent" align="left"><div class="ZEditBox mceEditable" align="justify">
 
  
<font size="5">Description</font>
+
==Examples==
  
</div></div>
+
*ABS(8) = 8
----
+
*ABS(-5) = 5
<div id="10SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">'''<font face="Times New Roman"> <font size="6">ABS</font> </font>'''</div></div>
+
*ABS(1/2) = 0.5
----
+
*ABS(-1/4) = 0.25
<div id="3SpaceContent" class="zcontent" align="left">
 
  
<br />    '''ABS(n1)'''
+
==Related Videos==
  
where,
+
{{#ev:youtube|t4xOkpP8FgE|280|center|Absolute Value}}
  
'''n1''' - a  real number of which you want the absolute
+
==See Also==
 +
*[[Manuals/calci/IMABS  | IMABS ]]
  
value.
+
==References==
 +
[http://en.wikipedia.org/wiki/Absolute_value  Absolute_value]
  
</div>
 
----
 
<div id="14SpaceContent" class="zcontent" align="left">It calculates the absolute value of a number.<br /><br /><br /></div>
 
----
 
<div id="1SpaceContent" class="zcontent" align="left"><br /><div id="4Space" class="gamizbox" title="4Space"><div id="4SpaceHeader" class="zheaderstyle" title="Double-click to start and stop editing the header."><center></center></div><div id="4SpaceRollup" title="Double-click to rolldown" align="left"><span><span id="4SpaceRollupContent" align="center"></span></span></div><div id="4SpaceCover"><div id="4SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">
 
  
<font size="3"><font face="Times New Roman"></font></font>
+
*[[Z_API_Functions | List of Main Z Functions]]
  
</div></div>
+
*[[ Z3 Z3 home ]]
----
 
<div id="13SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">
 
 
 
Syntax
 
 
 
</div></div>
 
----
 
<div id="6SpaceContent" class="zcontent" align="left">
 
 
 
{| id="TABLE3" class="SpreadSheet blue"
 
|- class="even"
 
| class=" " |
 
| Column1
 
| class="  " | Column2
 
| Column3
 
| Column4
 
|- class="odd"
 
| class=" " | Row1
 
| class="                                                                      sshl_f  " |
 
| class="sshl_f" | 5
 
| class=" " |
 
| class=" " |
 
|- class="even"
 
| class="  " | Row2
 
| class=" " |
 
| class="  SelectTD ChangeBGColor SelectTD" |
 
<div id="6Space_Handle" class="zhandles" title="Click and Drag to resize CALCI Column/Row/Cell. It is EZ!"></div><div id="6Space_Copy" class="zhandles" title="Click and Drag over to AutoFill other cells."></div><div id="6Space_Drag" class="zhandles" title="Click and Drag to Move/Copy Area.">[[Image:copy-cube.gif]]  </div>
 
| class=" " |
 
|
 
|- class="odd"
 
| Row3
 
| class=" " |
 
|
 
| class=" " |
 
| class=" " |
 
|- class="even"
 
| Row4
 
| class=" " |
 
| class=" " |
 
|
 
| class=" " |
 
|- class="odd"
 
| class=" sshl_f" | Row5
 
|
 
|
 
|
 
|
 
|- class="even"
 
| class=" sshl_f" | Row6
 
| class="sshl_f" |
 
|
 
|
 
| class="   " |
 
|}
 
 
 
<div align="left">[[Image:calci1.gif]]</div></div>
 
----
 
<div id="5SpaceContent" class="zcontent" align="left">
 
 
 
Let see an example(column2,Row1)
 
 
 
<nowiki>=abs(-5)</nowiki>
 
 
 
ABS returns 5.
 
 
 
<br />Consider another example
 
 
 
<nowiki>=abs("fhjfdg")</nowiki>
 
 
 
ABS returns NaN.<br />
 
 
 
</div></div>
 
----
 
</div></div>
 

Latest revision as of 18:25, 13 August 2018

ABS(Number)


  • is indicating the real value.
    • ABS(), returns the absolute value of a number.

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)).
Absolute Value

Examples

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

Related Videos

Absolute Value

See Also

References

Absolute_value