question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Area of Triangle produces invalid triangles

See original GitHub issue

Bug Description

The ‘Area of Triangle’ generator came up with the triangle 17 19 1 (or in a different order, i’m not sure), which is of course not a real triangle. The answer, according to the generator was some answer involving j, but it seems like a bug to me that this generator make non-real triangles.

Issue Analytics

  • State:closed
  • Created 9 months ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
jsun1590commented, Dec 19, 2022

Hi there, I believe this was fixed around a year ago in Pull 361. I just tested and the function seems to work as expected locally. I had a look at the gh-pages branch and it just appears that the statically generated data there is not updated.

0reactions
rolfvandekrolcommented, Dec 19, 2022

Ah, I misread the #394 . It’s not a merged PR, but an issue to fix 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unit 9 Section 5 : The Area of a Triangle
This section introduces the formula for the area of a triangle, which can be seen below. The height is called the perpendicular height...
Read more >
Area of triangles - Mathematics Stack Exchange
One method of calculating area yields 23 and another method for the same area gets me 13. Something is clearly incorrect, so my...
Read more >
How to determine if three lengths form a triangle - YouTube
Learn about the Pythagorean theorem. The Pythagoras theorem is a fundamental relation among the three sides of a right triangle.
Read more >
Zero-width triangles are produced (They have no area as one ...
EDIT: I tried release version 1.0.29, and there the problem with the zero-area triangles is not present, at least not with this shape....
Read more >
Possible Triangles with Side-Side-Angle | CK-12 Foundation
It makes an isosceles triangle. You start to wonder how many different possible triangles there are for different lengths of sides.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found