Anonymous user
Heronian triangles: Difference between revisions
m
capitalized Heroniam in the task section header.
Walterpachl (talk | contribs) m (→{{header|REXX}}: typo) |
m (capitalized Heroniam in the task section header.) |
||
Line 14:
Note that any triangle whose sides are all an integer multiple of 3,4,5; such as 6,8,10, will
also be a
Define a '''Primitive Heronian triangle''' as a
of all three sides is 1. This will exclude, for example triangle 6,8,10
'''The task''' is to:
# Create a named function/method/procedure/... that implements Hero's formula.
# Use the function to generate all the ''primitive''
# Show the count of how many triangles are found.
# Order the triangles by first increasing area, then by increasing perimeter, then by increasing maximum side lengths
|