Difference between revisions of "Manuals/calci/GCD"

From ZCubes Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<div id="6SpaceContent" class="zcontent" align="left">
+
=GCD(number1, number2, .....)
  
'''GCD'''(Number1, Number2..............)
+
*Where 'number1, number2, ......' are integer values.
  
where,
+
GCD() calculates the 'Greatest Common Divisor' of two or more integers.
  
'''Number1, Number2......''' - are represents number.
+
== Description ==
  
</div>
+
GCD(number1, number2, .....)
----
 
<div id="1SpaceContent" class="zcontent" align="left">Returns the largest interger that divides two or more numbers without a remainder.</div>
 
----
 
<div id="7SpaceContent" class="zcontent" align="left">
 
  
If any parameters is nonnumeric, GCD returns #ERROR.
+
For Example,
  
If  Number &lt;  0 , it returns #ERROR.
+
GCD(5,10) ''returns 5''
  
A prime number divide by itself and by 1.
+
*GCD value is the largest interger that divides the input numbers without a remainder.
 +
*If any 'number' is nonnumeric, Calci displays an #ERROR message.
 +
*If any 'number' is negative, Calci displays an #ERROR message.
  
One divides any value evenly.
+
== Examples ==
  
</div>
 
----
 
<div id="12SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="left">
 
 
GCD
 
 
</div></div>
 
----
 
<div id="8SpaceContent" class="zcontent" align="left">
 
 
Lets see an example in (Column1, Row2)
 
 
<nowiki>=GCD(5,10)</nowiki>
 
 
GCD returns 5.
 
 
</div>
 
----
 
<div id="10SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Syntax </div><div class="ZEditBox"><center></center></div></div>
 
----
 
<div id="4SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Remarks </div></div>
 
----
 
<div id="3SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Examples </div></div>
 
----
 
<div id="11SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Description </div></div>
 
----
 
 
<div id="2SpaceContent" class="zcontent" align="left">
 
<div id="2SpaceContent" class="zcontent" align="left">
  
 
{| id="TABLE3" class="SpreadSheet blue"
 
{| id="TABLE3" class="SpreadSheet blue"
 
|- class="even"
 
|- class="even"
| class=" " |
+
|class="sshl_f" |'''Function'''
| class="   " | Column1
+
|class="sshl_f" |'''GCD Output'''
| Column2
+
 
| Column3
 
| Column4
 
 
|- class="odd"
 
|- class="odd"
| class=" " | Row1
+
|class="sshl_f" |GCD()
| class="sshl_f" | 5
+
|class="sshl_f" |
|
+
 
|
 
|
 
 
|- class="even"
 
|- class="even"
| class=" " | Row2
+
|class="sshl_f" |GCD()
| class="       SelectTD ChangeBGColor SelectTD" |
+
|class="sshl_f" |
<div id="2Space_Handle" class="zhandles" title="Click and Drag to resize CALCI Column/Row/Cell. It is EZ!"></div><div id="2Space_Copy" class="zhandles" title="Click and Drag over to AutoFill other cells."></div><div id="2Space_Drag" class="zhandles" title="Click and Drag to Move/Copy Area.">
+
 
|
 
|
 
|
 
 
|- class="odd"
 
|- class="odd"
| Row3
+
|class="sshl_f" |GCD()
|
+
|class="sshl_f" |
|
+
 
|
 
|
 
 
|- class="even"
 
|- class="even"
| Row4
+
|class="sshl_f" |GCD()
|
+
|class="sshl_f" |
|
+
 
|
 
|
 
 
|- class="odd"
 
|- class="odd"
| class=" " | Row5
+
|class="sshl_f" |GCD()
|
+
|class="sshl_f" |
|
 
|
 
|
 
|- class="even"
 
| Row6
 
| class="sshl_f " |
 
|
 
|
 
|
 
 
|}
 
|}

Revision as of 17:25, 19 November 2013

=GCD(number1, number2, .....)

  • Where 'number1, number2, ......' are integer values.

GCD() calculates the 'Greatest Common Divisor' of two or more integers.

Description

GCD(number1, number2, .....)

For Example,

GCD(5,10) returns 5

  • GCD value is the largest interger that divides the input numbers without a remainder.
  • If any 'number' is nonnumeric, Calci displays an #ERROR message.
  • If any 'number' is negative, Calci displays an #ERROR message.

Examples

Function GCD Output
GCD()
GCD()
GCD()
GCD()
GCD()