Difference between revisions of "Manuals/calci/HYPOTENUSE"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div id="6SpaceContent" class="zcontent" align="left"> '''HYPOTENUSE'''(SomeNumber1,SomeNumber2) where '''SomeNumber1 '''and''' SomeNumber2 '''are any real numbers ...")
 
Line 1: Line 1:
<div id="6SpaceContent" class="zcontent" align="left">
+
<div style="font-size:30px">'''HYPOTENUSE(a,b)'''</div><br/>
 +
*<math>a</math> is the value of the opposite side.
 +
*<math>b</math> is the adjacent side value.
  
'''HYPOTENUSE'''(SomeNumber1,SomeNumber2)
+
==Description==
 +
*This function gives the value of the hypotenuse side.
 +
*A hypotenuse is the longest side of a right-angled triangle.
 +
*The length of the hypotenuse of a right triangle can be found using the Pythagorean theorem, which states that the square of the length of the hypotenuse equals the sum of the squares of the lengths of the other two sides.
 +
*In <math>HYPOTENUSE(a,b)</math>, <math>a</math> and <math>b</math> are the lengths of the other two sides of a right angled triangle.
 +
*<math>a</math> is the value of the opposite side and <math>b</math> is the value of the adjacent side.
 +
*So <math>Hypotenuse=\sqrt(a^2+b^2)</math>.
 +
  This function will return the result as error when any one of the argument is non-numeric.
  
where
+
==Examples==
 +
#=HYPOTENUSE(6,8) = 10
 +
#=HYPOTENUSE(1,0) = 1
 +
#=HYPOTENUSE(2.5,6.2) = 6.68505796534
 +
#=HYPOTENUSE(12,20) = 23.32350787
 +
#=HYPOTENUSE(-2,4) = 4.472135954999
 +
#=HYPOTENUSE(-3,-4) = 5
  
'''SomeNumber1 '''and''' SomeNumber2 '''are any real numbers
+
==See Also==
  
</div>
+
==References==
----
 
<div id="1SpaceContent" class="zcontent" align="left">
 
 
 
Calci returns the HYPOTENUSE of two real numbers.
 
 
 
Formula:-
 
 
 
HYPOTENUSE =  sqrt (SomeNumber1^2 + SomeNumber2^2)
 
 
 
</div>
 
----
 
<div id="7SpaceContent" class="zcontent" align="left">
 
 
 
HYPOTENUSE returns NaN if SomeNumber1 or SomeNumber2 is not a real number
 
 
 
</div>
 
----
 
<div id="12SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="left">
 
 
 
HYPOTENUSE
 
 
 
</div></div>
 
----
 
<div id="8SpaceContent" class="zcontent" align="left">
 
 
 
Lets see an example in (Column3Row1)
 
 
 
<nowiki>=HYPOTENUSE(Column1Row1,Column2,Row1)</nowiki>
 
 
 
Returns 5 for HYPOTENUSE(3,4)
 
 
 
Consider another example in (Column3Row2)
 
 
 
<nowiki>=HYPOTENUSE(Column1Row2,Column2Row2)</nowiki>
 
 
 
Returns NaN for HYPOTENUSE("abc",2)
 
 
 
</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"
 
|+ Default Calci
 
|- class="even"
 
| class=" " |
 
| Column1
 
| Column2
 
| Column3
 
| Column4
 
|- class="odd"
 
| class=" " | Row1
 
| class=" " | 3
 
| class="1    " | 4
 
| class="1" | 5
 
| class="                                                          sshl_f  sshl_f" |
 
|- class="even"
 
| class="  " | Row2
 
| class=" " | abc
 
| class="1        " | 2
 
| class="sshl_f" | NaN
 
| class="sshl_f  sshl_f" |
 
|- class="odd"
 
| Row3
 
|
 
| class="sshl_f" |
 
| class="sshl_f SelectTD1 ChangeBGColor SelectTD1" |
 
<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="sshl_f" |
 
|- class="even"
 
| Row4
 
|
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|
 
|- class="odd"
 
| class=" " | Row5
 
|
 
|
 
| class="sshl_f" |
 
|
 
|- class="even"
 
| Row6
 
|
 
|
 
| class="sshl_f" |
 
|
 
|}
 
 
 
{|
 
| <span align="left">[[Image:calci1.gif]]</span>
 
|
 
|
 
[[Image:bold.gif]]
 
|
 
[[Image:italic.gif]]
 
|
 
[[Image:normal.gif]]
 
|
 
[[Image:underline.gif]]
 
|
 
[[Image:border.gif]]
 
|
 
[[Image:numbers.gif]]
 
|
 
[[Image:sort.gif]]
 
|
 
[[Image:formatcells.gif]]
 
|
 
[[Image:graphs.gif]]
 
| $
 
|}
 
 
 
</div>
 
----
 

Revision as of 23:33, 13 February 2014

HYPOTENUSE(a,b)


  • is the value of the opposite side.
  • is the adjacent side value.

Description

  • This function gives the value of the hypotenuse side.
  • A hypotenuse is the longest side of a right-angled triangle.
  • The length of the hypotenuse of a right triangle can be found using the Pythagorean theorem, which states that the square of the length of the hypotenuse equals the sum of the squares of the lengths of the other two sides.
  • In , and are the lengths of the other two sides of a right angled triangle.
  • is the value of the opposite side and is the value of the adjacent side.
  • So .
  This function will return the result as error when any one of the argument is non-numeric.

Examples

  1. =HYPOTENUSE(6,8) = 10
  2. =HYPOTENUSE(1,0) = 1
  3. =HYPOTENUSE(2.5,6.2) = 6.68505796534
  4. =HYPOTENUSE(12,20) = 23.32350787
  5. =HYPOTENUSE(-2,4) = 4.472135954999
  6. =HYPOTENUSE(-3,-4) = 5

See Also

References