Difference between revisions of "Manuals/calci/SUMX2MY2"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div id="6SpaceContent" class="zcontent" align="left"> '''SUMX2MY2'''(ArrayX, ArrayY) where, '''ArrayX''' - represents the first array of values. '''ArrayY''' - ...")
 
Line 1: Line 1:
<div id="6SpaceContent" class="zcontent" align="left">
+
<div style="font-size:30px">'''SUMX2MY2(x,y)'''</div><br/>
 +
*<math> x </math> and <math> y </math>  are the array of values.
  
'''SUMX2MY2'''(ArrayX, ArrayY)
 
  
where,
+
==Description==
 +
*This function gives the sum of the difference of squares of corresponding values in <math> x </math> and  <math> y </math>.
 +
*In <math> SUMX2MY2(x,y), x </math> is the first array of real values and <math> y </math> is the second array of real values.
 +
*This  function is defined by  <math> SUMX2MY2= \sum (x^2-y^2).
 +
*The arguments can be be either numbers or names, array,constants or references that contain numbers.
 +
*Suppose the array contains text,logical values or empty cells, like that values are not considered.
 +
*This function will give the result as error when
 +
        1. Any one of the argument is nonnumeric or not a real number.
 +
        2. The arguments containing the error values or text that cannot be translated in to numbers.
 +
        3. x and y are having different number of values.
  
'''ArrayX''' - represents the first array of values.
 
  
'''ArrayY''' - represents the second array of values.
+
==Examples==
 +
x={29,71,10,16}
 +
y={16,50,8,14}
 +
SUMX2MY2(B1:B4,C1:C4) = null
  
</div>
 
----
 
<div id="1SpaceContent" class="zcontent" align="left">
 
  
It returns the sum of the difference of square of corresponding values in two arrays.
+
==See Also==
 +
*[[Manuals/calci/SUMX2PY2 | SUMX2PY2]]
 +
*[[Manuals/calci/SUMXMY2  | SUMXMY2 ]]
 +
*[[Manuals/calci/SUMPRODUCT  | SUMPRODUCT ]]
  
'''Formula''' :-
 
  
SUMX2MY2 = Σ (x<sup>2</sup> - y<sup>2</sup>)
+
==References==
 
 
</div>
 
----
 
<div id="7SpaceContent" class="zcontent" align="left">
 
 
 
If ArrayX and ArrayY have different number of values, SUMX2MY2 returns the #ERROR.
 
 
 
</div>
 
----
 
<div id="12SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="left">
 
 
 
SUMX2MY2
 
 
 
</div></div>
 
----
 
<div id="8SpaceContent" class="zcontent" align="left">
 
 
 
Lets see an example in (Column3, Row1)
 
 
 
<nowiki>=SUMX2MY2(R1C1:R7C1,R1C2: R7C2)</nowiki>
 
 
 
SUMX2MY2 returns 313.
 
 
 
Consider an another example
 
 
 
<nowiki>=SUMX2MY2(R1C1:R7C1,R1C2: R6C2)</nowiki>
 
 
 
SUMX2MY2 returns the #ERROR.
 
 
 
</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">
 
 
 
{| id="TABLE3" class="SpreadSheet blue"
 
|- class="even"
 
| class=" " |
 
| class="      " | Column1
 
| class="  " | Column2
 
| class="  " | Column3
 
| Column4
 
|- class="odd"
 
| class=" " | Row1
 
| class=" " | 15
 
| class="                                    sshl_f " | 1
 
| class="sshl_f" | 313
 
|
 
|- class="even"
 
| class="  " | Row2
 
| class=" " | 8
 
| class=" " | 2
 
| class=" SelectTD ChangeBGColor SelectTD" |
 
<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.">[[Image:copy-cube.gif]]  </div>
 
|
 
|- class="odd"
 
| Row3
 
| class=" " | 5
 
| class=" " | 3
 
|
 
|
 
|- class="even"
 
| Row4
 
| class=" " | 1
 
| class=" " | 4
 
|
 
|
 
|- class="odd"
 
| class=" " | Row5
 
| class=" " | 8
 
| class=" " | 5
 
|
 
|
 
|- class="even"
 
| class="sshl_f" | Row6
 
| class=" " | 7
 
| class=" " | 6
 
| class=" " |
 
| class=" " |
 
|- class="odd"
 
| class="sshl_f" | Row7
 
| class=" " | 5
 
| class=" " | 7
 
|
 
|
 
|}
 
 
 
<div align="left">[[Image:calci1.gif]]</div></div>
 
----
 

Revision as of 22:45, 26 January 2014

SUMX2MY2(x,y)


  • and are the array of values.


Description

  • This function gives the sum of the difference of squares of corresponding values in and .
  • In is the first array of real values and is the second array of real values.
  • This function is defined by <math> SUMX2MY2= \sum (x^2-y^2).
  • The arguments can be be either numbers or names, array,constants or references that contain numbers.
  • Suppose the array contains text,logical values or empty cells, like that values are not considered.
  • This function will give the result as error when
       1. Any one of the argument is nonnumeric or not a real number.
       2. The arguments containing the error values or text that cannot be translated in to numbers.
       3. x and y are having different number of values.


Examples

x={29,71,10,16} y={16,50,8,14} SUMX2MY2(B1:B4,C1:C4) = null


See Also


References