Difference between revisions of "Manuals/calci/ODDSET"

From ZCubes Wiki
Jump to navigation Jump to search
 
(One intermediate revision by one other user not shown)
Line 7: Line 7:
 
*ODD SET shows the odd number of values.  
 
*ODD SET shows the odd number of values.  
 
*Array of values are starting the numbering from 1 and so on.
 
*Array of values are starting the numbering from 1 and so on.
*So from array of values function will return the 1st,3rd,5th,7th,9th,11th values and so on.
+
*So from the array of values, function will return the 1st,3rd,5th,7th,9th,11th values and so on.
  
 
==Examples==
 
==Examples==
Line 13: Line 13:
 
#ODDSET([-10,-23,-12,65,11,65,100,17,34]) = -10 -12 11 100 34
 
#ODDSET([-10,-23,-12,65,11,65,100,17,34]) = -10 -12 11 100 34
 
#ODDSET([20,30,40,50,10,-10,-20,-30,10]) = 20  40 10 -20 10
 
#ODDSET([20,30,40,50,10,-10,-20,-30,10]) = 20  40 10 -20 10
 +
 +
==Related Videos==
 +
 +
{{#ev:youtube|SFRTTUtAjg4|280|center|ODD}}
  
 
==See Also==
 
==See Also==

Latest revision as of 06:00, 13 February 2019

ODDSET (Array)


  • is any set of values.

Description

  • This function shows the odd set of values from the given set of values.
  • In , Array is the set of values and Every is any real number.
  • ODD SET shows the odd number of values.
  • Array of values are starting the numbering from 1 and so on.
  • So from the array of values, function will return the 1st,3rd,5th,7th,9th,11th values and so on.

Examples

  1. ODDSET([1,2,3,4,5,6,7,8,9]) = 1 3 5 7 9
  2. ODDSET([-10,-23,-12,65,11,65,100,17,34]) = -10 -12 11 100 34
  3. ODDSET([20,30,40,50,10,-10,-20,-30,10]) = 20 40 10 -20 10

Related Videos

ODD

See Also

References