hypot: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Added MacroFunction template and Mathematical Function category)
m (Conversion script moved page Hypot to hypot: Converting page titles to lowercase)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{MacroFunction
#REDIRECT [[hypotenuse]]
|name=hypot
[[Category:Macro Function]]
|description=Returns the hypotenuse of a right triangle whos other two sides have a length of sideA and sideB. The formula used to calculate the hypotnese is, h^2 = sideA^2 * sideB^2. See [[wp:Hypotenuse|Hypotenuse]]
 
|usage=
<source lang="mtmacro" line>
[h: h = hypot(sideA, sideB)]
[h: h = hypotenuse(sideA, sideB)]
</source>
 
 
|examples=
<source lang="mtmacro" line>
[r: hypot(3,4)]
</source>
Returns 5.
}}
[[Category:Mathematical Function]]
[[Category:Mathematical Function]]

Latest revision as of 23:59, 9 February 2023

Redirect to: