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 ...")
 
 
(7 intermediate revisions by 3 users not shown)
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(),returns the hypotenuse side
  
'''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
+
==Related Videos==
  
</div>
+
{{#ev:youtube|AA6RfgP-AHU|280|center|Pythagorean Theorem}}
----
 
<div id="1SpaceContent" class="zcontent" align="left">
 
  
Calci returns the HYPOTENUSE of two real numbers.
+
==See Also==
 +
*[[Manuals/calci/SPHERE| SPHERE]]
 +
*[[Manuals/calci/ELLIPSE| ELLIPSE]]
 +
*[[Manuals/calci/TRIANGLE| TRIANGLE]]
  
Formula:-
+
==References==
 +
*[http://en.wikipedia.org/wiki/Hypotenuse Hypotenuse]
  
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
+
*[[Z_API_Functions | List of Main Z Functions]]
  
</div>
+
*[[ Z3 |   Z3 home ]]
----
 
<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>
 
----
 

Latest revision as of 15:19, 2 July 2018

HYPOTENUSE(A,B)


  • is the value of the opposite side.
  • is the adjacent side value.
    • HYPOTENUSE(),returns the hypotenuse side

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

Related Videos

Pythagorean Theorem

See Also

References