Talk:Law of cosines - triples: Difference between revisions

From Rosetta Code
Content added Content deleted
Line 6: Line 6:
--[[User:Tigerofdarkness|Tigerofdarkness]] ([[User talk:Tigerofdarkness|talk]]) 13:28, 23 September 2018 (UTC)
--[[User:Tigerofdarkness|Tigerofdarkness]] ([[User talk:Tigerofdarkness|talk]]) 13:28, 23 September 2018 (UTC)
:You are right. Thanks for bringing this up. I fixed my Factor submission. --[[User:Chunes|Chunes]] ([[User talk:Chunes|talk]]) 14:28, 23 September 2018 (UTC)
:You are right. Thanks for bringing this up. I fixed my Factor submission. --[[User:Chunes|Chunes]] ([[User talk:Chunes|talk]]) 14:28, 23 September 2018 (UTC)

:: I changed the wording of that task's requirement   (hopefully, it is more clearer).   In any case, that's what I took it to mean, that the triangles are to be shown in increasing (ascending) order of the first side found.   -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 06:56, 24 September 2018 (UTC)

Revision as of 06:56, 24 September 2018

Showing the sides in order?

I see the samples show the 60 degree triangles with the sides in ascending order, however ( a, b, c ) = ( 5, 7, 8 ) isn't a solution of a^2 + b^2 - ab = c^2.
Where the task says "Find all integer solutions to the three specific cases, in order;", presumably this should be in order of ascending first (lowest) side?

--Tigerofdarkness (talk) 13:28, 23 September 2018 (UTC)

You are right. Thanks for bringing this up. I fixed my Factor submission. --Chunes (talk) 14:28, 23 September 2018 (UTC)
I changed the wording of that task's requirement   (hopefully, it is more clearer).   In any case, that's what I took it to mean, that the triangles are to be shown in increasing (ascending) order of the first side found.   -- Gerard Schildberger (talk) 06:56, 24 September 2018 (UTC)