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...")
 
Line 1: Line 1:
<div id="16SpaceContent" align="left"><div class="ZEditBox" align="justify">
+
<div style="font-size:30px">'''ABS(n)'''</div><br/>
  
Remarks
+
*Where 'n 'is the any real number.
  
</div></div>
+
==Description==
----
+
*This function gives the absolute value of a given number.
<div id="2SpaceContent" align="left"><div class="ZEditBox" align="justify">
+
*Here N is the real number which we want to convert in absolute value of N.
 +
*The absolute value of a real number is its distance from 0 on the number line.
 +
*Absolute value of a number is the number with '+' sign.
  
Examples
+
==Examples==
  
</div></div>
+
*ABS(8)=8
----
+
*ABS(-5)=5
<div id="8SpaceContent" align="left"><div class="ZEditBox" align="justify">'''<font face="Times New Roman">''''''''''''<font size="6"> </font>''' '''''''''</font>'''</div></div>
+
*ABS(1/2)=0.5
----
+
*ABS(-1/4)=0.25
<div id="11SpaceContent" align="left"><div class="ZEditBox mceEditable" align="justify">
 
  
<font size="5">Description</font>
+
==See Also==
  
</div></div>
+
*[[Manuals/calci/IMABS  | IMABS ]]
----
 
<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>
 
----
 
<div id="3SpaceContent" class="zcontent" align="left">
 
  
<br />    '''ABS(n1)'''
 
  
where,
+
==References==
 
+
[http://en.wikipedia.org/wiki/Complex_number| Complex Numbers]
'''n1''' - a  real number of which you want the 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>
 
 
 
</div></div>
 
----
 
<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>
 

Revision as of 03:19, 19 November 2013

ABS(n)


  • Where 'n 'is the any real number.

Description

  • This function gives the absolute value of a given number.
  • Here N is the real number which we want to convert in absolute value of N.
  • The absolute value of a real number is its distance from 0 on the number line.
  • Absolute value of a number is the number with '+' sign.

Examples

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

See Also


References

Complex Numbers