Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Triangle combination

  1. Sep 8, 2006 #1
    HI ,
    I dont know where to post my question. sorry if it is not in the correct forum.

    I am working on a program and one of the instruction say this:
    (Prior we have to know that a,b,c are the sides of a triangle)

    "Note that not all combination of a,b,c produce a triangle.
    Your function should produce correct results for legal data and reasonable results for illegal combinations"

    I did not know that there can be bad combination for a triangle.
    What is this bad combination?

    thank you
  2. jcsd
  3. Sep 8, 2006 #2


    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    Try to draw a triangle whose sides are 1, 2, and 4.
  4. Sep 8, 2006 #3


    User Avatar
    Homework Helper

    Well, c must be less than a + b, if that's what you ment..Or, if you're working with points (coordinates), three points mustn't be colinear.
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Discussions: Triangle combination
  1. Combinations - (Replies: 3)

  2. # of combinations (Replies: 6)

  3. Triangle question (Replies: 5)

  4. A Triangle-Square (Replies: 9)

  5. Excenter of triangle (Replies: 1)