Difference between revisions of "Manuals/calci/MINA"

From ZCubes Wiki
Jump to navigation Jump to search
 
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div style="font-size:30px"> '''MINA(n1,n2,n3,..)''' </div><br/>
+
<div style="font-size:30px"> '''MINA()''' </div><br/>
*<math>n1,n2,n3…, </math> are the  numbers.
+
*Parameters are any set of numbers.
 +
**MINA(), returns the smallest value in a list of arguments, including numbers, text, and logical values.
  
 
==Description==
 
==Description==
 
*This function gives the smallest number in a given set of values.
 
*This function gives the smallest number in a given set of values.
*In <math>MINA(n1,n2,n3,…), n1</math> is required and <math>n2,n3… </math>,are optional.  
+
*In <math>MINA()</math>, First parameter is required and from the second parameter are optional.  
*Here <math>n1,n2,n3,...</math>, can be numbers, names, arrays or references that contain numbers.
+
*Here Parameters can be numbers, names, arrays or references that contain numbers.
 
*Also logical values and text  representations can be valid.
 
*Also logical values and text  representations can be valid.
*Suppose the argument contain the logical value TRUE , it is considered as 1 and if it is FALSE , it is considered as 0. *In a referred array only numbers are considered.
+
*Suppose the argument contain the logical value TRUE , it is considered as 1 and if it is FALSE ,it is considered as 0.  
 +
*In a referred array only numbers are considered.
 
*Empty cells,logical values or text in the referred array are  not considered.  
 
*Empty cells,logical values or text in the referred array are  not considered.  
 
*suppose the arguments contain no numbers then this gives the value as 0.  
 
*suppose the arguments contain no numbers then this gives the value as 0.  
 
*This functon will return the result as error when any one of the argument is nonnumeric or the referred array cannot translated in to numbers.  
 
*This functon will return the result as error when any one of the argument is nonnumeric or the referred array cannot translated in to numbers.  
*If we want make logical values and text representations of numbers as dummy then we can use the [[MIN]] function.
+
*If we want make logical values and text representations of numbers as dummy then we can use the [[Manuals/calci/MIN | MIN  ]] function.
 +
 
 +
==ZOS==
 +
*The syntax is to calculate minimum number in the given set of numbers in ZOS is <math>MINA()</math>.
 +
**Parameters are any set of  numbers.
 +
*For e.g.,MINA(1..5,false)
  
 
==Examples==
 
==Examples==
#MINA(5,15,25)=5
+
#=MINA(5,15,25)=5
#MINA(-1,-6,-9,-15)=-15
+
#=MINA(-1,-6,-9,-15)=-15
#MINA(0.252,0.234,0.214,0.2)=0.2
+
#=MINA(0.252,0.234,0.214,0.2)=0.2
#MINA(2,5,7,TRUE)=1
+
#=MINA(2,5,7,TRUE)=1
#MINA(4,7,9,FALSE)=0
+
#=MINA(4,7,9,FALSE)=0
21
+
 
87
+
==Related videos==
75
+
 
TRUE
+
{{#ev:youtube|TtyDEh6k1I8|280|center|MINA}}
MINA(C1:C4)=1
 
  
 
==See Also==
 
==See Also==
Line 31: Line 37:
  
 
==References==
 
==References==
 +
[http://en.wikipedia.org/wiki/Minimum Minimum ]
  
  
  
MINA(n1,n2,n3.........)
+
*[[Z_API_Functions | List of Main Z Functions]]
 
 
MINA(range1,range2,externalrange1............)
 
 
 
There is no limit to how many parameters pass to MINA.
 
 
 
</div>
 
----
 
<div id="1SpaceContent" class="zcontent" align="left">
 
 
 
Calci returns the smallest value from set of numbers.
 
 
 
</div>
 
----
 
<div id="7SpaceContent" class="zcontent" align="left">
 
 
 
Parameters can be numbers,array,logical values(TRUE counted as 1 and FALSE counted as 0) or references that contain numbers.
 
 
 
Parameters have no numbers, MINA returns 0.
 
 
 
MINA ignores values that cannot be converted into numbers.
 
 
 
Logical values and text represent the number in the reference as not part of evaluation, use MIN function.
 
 
 
</div>
 
----
 
<div id="9SpaceContent" class="zcontent" align="left">
 
 
 
{| id="TABLE3" class="SpreadSheet blue"
 
|- class="even"
 
| class=" " |
 
| Column1
 
| Column2
 
| Column3
 
| Column4
 
|- class="odd"
 
| class=" " | Row1
 
| class=" " | 2
 
| class="sshl_f" | 2
 
| 4
 
| class="sshl_f" | 5
 
|- class="even"
 
| class="  " | Row2
 
| class=" " | 7
 
| class="sshl_f  " | 8
 
| class="sshl_f" | 2
 
| class="sshl_f" | 128
 
|- class="odd"
 
| Row3
 
| class="sshl_f" | FALSE
 
| class="sshl_f" | 67968
 
| class=" " | 14
 
| class="sshl_f    " | 15
 
|- class="even"
 
| Row4
 
| class="  " | 17
 
| class=" " | 18
 
| class="sshl_f" | 10000
 
| class="  " | 20
 
|- class="odd"
 
| class=" " | Row5
 
| 26
 
| 67994
 
| 10020
 
| 168
 
|- class="even"
 
| Row6
 
| 4
 
| 0.850904
 
| 1.619775
 
| 0.525322
 
|}
 
 
 
<div align="left"></div>''''''</div>
 
----
 
<div id="12SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="left">
 
 
 
MINA
 
 
 
</div></div>
 
----
 
<div id="8SpaceContent" class="zcontent" align="left">
 
 
 
Lets see an example in (Column3,Row1)
 
 
 
UNIQ130a4a1081195f84-nowiki-00000004-QINU
 
 
 
Smallest number from (2,7,FALSE,17) is 0.
 
 
 
Consider another example
 
 
 
UNIQ130a4a1081195f84-nowiki-00000005-QINU
 
 
 
MINA return the smallest number from(2,5,TRUE,8,9)
 
 
 
is 1.
 
  
</div>
+
*[[ Z3 |  Z3 home ]]
----
 
<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>
 
----
 

Latest revision as of 14:42, 8 August 2018

MINA()


  • Parameters are any set of numbers.
    • MINA(), returns the smallest value in a list of arguments, including numbers, text, and logical values.

Description

  • This function gives the smallest number in a given set of values.
  • In , First parameter is required and from the second parameter are optional.
  • Here Parameters can be numbers, names, arrays or references that contain numbers.
  • Also logical values and text representations can be valid.
  • Suppose the argument contain the logical value TRUE , it is considered as 1 and if it is FALSE ,it is considered as 0.
  • In a referred array only numbers are considered.
  • Empty cells,logical values or text in the referred array are not considered.
  • suppose the arguments contain no numbers then this gives the value as 0.
  • This functon will return the result as error when any one of the argument is nonnumeric or the referred array cannot translated in to numbers.
  • If we want make logical values and text representations of numbers as dummy then we can use the MIN function.

ZOS

  • The syntax is to calculate minimum number in the given set of numbers in ZOS is .
    • Parameters are any set of numbers.
  • For e.g.,MINA(1..5,false)

Examples

  1. =MINA(5,15,25)=5
  2. =MINA(-1,-6,-9,-15)=-15
  3. =MINA(0.252,0.234,0.214,0.2)=0.2
  4. =MINA(2,5,7,TRUE)=1
  5. =MINA(4,7,9,FALSE)=0

Related videos

MINA

See Also

References

Minimum