Triangle Combination: Legal & Illegal Combos

In summary, the conversation discusses the instructions for a program that involves triangles and the importance of using legal data for accurate results. It is mentioned that not all combinations of sides will produce a triangle, and the function should still produce reasonable results for illegal combinations. The concept of a "bad combination" for a triangle is also brought up, with an example of a triangle with sides 1, 2, and 4. It is clarified that c must be less than the sum of a and b, or if working with coordinates, the points must not be collinear.
  • #1
brad sue
281
0
HI ,
I don't 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
B.
 
Mathematics news on Phys.org
  • #2
Try to draw a triangle whose sides are 1, 2, and 4.
 
  • #3
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.
 

Related to Triangle Combination: Legal & Illegal Combos

1. What is a "Triangle Combination" in terms of legality and illegality?

A "Triangle Combination" refers to a group of three items or factors that are combined together in a specific way, and can result in either a legal or illegal outcome, depending on the context and laws involved.

2. How do you determine if a Triangle Combination is legal or illegal?

The legality of a Triangle Combination depends on various factors, such as the laws and regulations in a particular jurisdiction, the intent of the individuals involved, and the potential consequences of the combination. It is important to consult legal experts and thoroughly research the laws in question before making a determination.

3. Can a Triangle Combination be both legal and illegal at the same time?

In some cases, a Triangle Combination may have both legal and illegal aspects, making it a complex and potentially controversial issue. For example, a combination of legal substances may be considered safe and permissible, but if used in a specific way or in large quantities, it could become illegal and dangerous.

4. What are some examples of Triangle Combinations that are commonly considered illegal?

Some common examples of Triangle Combinations that are typically considered illegal include the combination of drugs, weapons, and money in criminal activities, as well as the combination of harmful substances in the production of illegal products or substances.

5. How can the study of Triangle Combinations be beneficial in the scientific field?

The study of Triangle Combinations can be useful in understanding the complexities of the legal system and the impact of various factors on the legality of a combination. It can also help identify potential areas of concern and inform the development of laws and regulations to prevent illegal combinations and activities.

Similar threads

Replies
2
Views
873
  • General Math
Replies
2
Views
4K
Replies
1
Views
2K
Replies
1
Views
1K
  • Precalculus Mathematics Homework Help
Replies
9
Views
2K
Replies
7
Views
3K
Replies
1
Views
1K
  • General Math
Replies
4
Views
2K
Replies
7
Views
2K
Back
Top