Difference between revisions of "Manuals/calci/NTHELEMENT"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "NTHELEMENT")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
NTHELEMENT
+
<div style="font-size:30px">'''NTHELEMENT (Th,Array)'''</div><br/>
 +
*<math>Th</math> is any positive Integer.
 +
 
 +
==Description==
 +
*This function shows the Nth element from the given set of values.
 +
*In <math>NTHELEMENT (Th,Array)</math>,<math>Th</math> is the position of the number in the given array.Array is the set of values.
 +
*Here position of the numbers are starting from 0 to the nth value.
 +
*So it is showing the nth value of the given set of values.
 +
*This function will return the result as NaN when the Nth number value is beyond the set of values.
 +
*Also when Th value is negative or in decimals this function will return as NaN.
 +
 
 +
==Examples==
 +
#NTHELEMENT(4,[9,8,6,10,5,2]) = 5
 +
#NTHELEMENT(6,[102,541,87.2,98,32.14,89.009,-54.32,-32.1,102]) = -54.32
 +
#NTHELEMENT(3,[1/2,3/2,7/6,9/8,11/12,19/21]) = 1.125
 +
 
 +
==Related Videos==
 +
 
 +
{{#ev:youtube|v=tcXnzvxoA6M|280|center|Nth}}
 +
 
 +
==See Also==
 +
*[[Manuals/calci/NTH  | NTH ]]
 +
*[[Manuals/calci/NTHROOT  | NTHROOT ]]
 +
*[[Z_API_Functions | List of Main Z Functions]]
 +
*[[ Z3 |  Z3 home ]]
 +
 
 +
==References==
 +
*[http://www.bbc.co.uk/bitesize/ks3/maths/algebra/linear_sequences/revision/3/ Nth term]
 +
*[[Z_API_Functions | List of Main Z Functions]]
 +
*[[ Z3 |  Z3 home ]]

Latest revision as of 01:12, 28 January 2020

NTHELEMENT (Th,Array)


  • is any positive Integer.

Description

  • This function shows the Nth element from the given set of values.
  • In , is the position of the number in the given array.Array is the set of values.
  • Here position of the numbers are starting from 0 to the nth value.
  • So it is showing the nth value of the given set of values.
  • This function will return the result as NaN when the Nth number value is beyond the set of values.
  • Also when Th value is negative or in decimals this function will return as NaN.

Examples

  1. NTHELEMENT(4,[9,8,6,10,5,2]) = 5
  2. NTHELEMENT(6,[102,541,87.2,98,32.14,89.009,-54.32,-32.1,102]) = -54.32
  3. NTHELEMENT(3,[1/2,3/2,7/6,9/8,11/12,19/21]) = 1.125

Related Videos

Nth

See Also

References