Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Jun 2009
    Location
    Newcastle Upon Tyne, UK
    Posts
    2,652
    Tokens
    1,389
    Habbo
    lRhyss

    Latest Awards:

    Default I need someone good at maths!

    Okay so, I need some values that will for the following problem:

    A, B and C are all sides of a triangle

    if A, B & C are greater then 0 then they are all invalid sides for a triangle

    if A = B + C or B = C + A or C = A + B then the shape is not a triangle

    NOW another variable comes in; D which is always equal to 0

    so D = 0

    and if A is equal to B; D = D + 1
    and if B is equal to C; D = D + 1
    and if C is equal to A; D = D + 1

    and at the end of that, if D is still equal to 0 then the triangle is Scalene
    and at the end of that, if D is equal to 1 then the triangle is Isosceles
    and at the end of that, if D is equal to something that is not 1 or 0 the triangle is equilateral


    I need to come up with at least 4 solutions for all 3 before tomorrow and I just can't do it, I've spent like 4 days trying

    Any help/solutions will be greatly appreciated

    moderator alert Thread moved by Nick (Forum Super Moderator): From 'Discuss Anything' as i feel it is more suited here.
    Last edited by Nick; 06-02-2014 at 08:27 AM.

  2. #2
    Join Date
    Oct 2006
    Posts
    9,905
    Tokens
    26,858
    Habbo
    Zak

    Latest Awards:

    Default

    @Kardan; is king of math.

  3. #3
    -:Undertaker:-'s Avatar
    -:Undertaker:- is offline Habbox Hall of Fame Inductee
    Former Rare Values Manager
    HabboxForum Top Poster


    Join Date
    Jan 2006
    Location
    Jerez, the Kingdom of Spain
    Country
    Spain
    Posts
    30,171
    Tokens
    216
    Habbo
    -:overtaker:-

    Latest Awards:

    Default

    Kardan (how do I tag him? ) is good at Maths, if I recall correctly he's doing a Maths degree. Worth asking him.

    I can't even do basic maths.


    And if you wanna buy me flowers
    Just go ahead now
    And if you like to talk for hours
    Just go ahead now


  4. #4
    Join Date
    Sep 2004
    Location
    Scotland
    Posts
    17,016
    Tokens
    34,727

    Latest Awards:

    Default

    I'm on it

  5. #5
    Join Date
    Jun 2009
    Location
    Newcastle Upon Tyne, UK
    Posts
    2,652
    Tokens
    1,389
    Habbo
    lRhyss

    Latest Awards:

    Default

    Quote Originally Posted by Kardan View Post
    I'm on it
    I will legit pay you money if you do this for me

    And be your butler for anything and everything

    Thanks so much for helping!!!!!!

  6. #6
    Join Date
    Sep 2004
    Location
    Scotland
    Posts
    17,016
    Tokens
    34,727

    Latest Awards:

    Default

    Ok, what level Maths are you doing? This seems fairly basic, so I've got a basic answer for you.

    Also, check this line is correct "if A, B & C are greater then 0 then they are all invalid sides for a triangle" - I would expect it to say less than 0, rather than greater than.

    Anyways, from what I've read, do you just need to find numbers for A, B and C that give you equilateral/scalene/isosceles triangles? If so, it's straight forward

  7. #7
    Join Date
    Jun 2009
    Location
    Newcastle Upon Tyne, UK
    Posts
    2,652
    Tokens
    1,389
    Habbo
    lRhyss

    Latest Awards:

    Default

    Quote Originally Posted by Kardan View Post
    Ok, what level Maths are you doing? This seems fairly basic, so I've got a basic answer for you.

    Also, check this line is correct "if A, B & C are greater then 0 then they are all invalid sides for a triangle" - I would expect it to say less than 0, rather than greater than.

    Anyways, from what I've read, do you just need to find numbers for A, B and C that give you equilateral/scalene/isosceles triangles? If so, it's straight forward
    I think I misread that yeah, But I'm not doing a maths degree that's the thing, It's computer science IU knowit involves maths, but I really cannot do algebra D:

  8. #8
    Join Date
    Sep 2004
    Location
    Scotland
    Posts
    17,016
    Tokens
    34,727

    Latest Awards:

    Default

    Ok, it's fairly basic anyway.

    Assuming you want them to be greater than 0.

    We can select A = B = C = 1.

    A, B, C are all greater than 0, so are all valid.
    A =/= B + C, likewise for B and C, so shape is a triangle.
    Set D = 0.
    Now A = B, so D = 0 + 1 = 1.
    Now B = C, so D = 1 + 1 = 2.
    Now C = A, so D = 2 + 1 = 3.

    Now D =/= 0 or 1, so D is equilateral.

    Is this what you need? Or do you need it in terms of x?

  9. #9
    Join Date
    Jun 2009
    Location
    Newcastle Upon Tyne, UK
    Posts
    2,652
    Tokens
    1,389
    Habbo
    lRhyss

    Latest Awards:

    Default

    Quote Originally Posted by Kardan View Post
    Ok, it's fairly basic anyway.

    Assuming you want them to be greater than 0.

    We can select A = B = C = 1.

    A, B, C are all greater than 0, so are all valid.
    A =/= B + C, likewise for B and C, so shape is a triangle.
    Set D = 0.
    Now A = B, so D = 0 + 1 = 1.
    Now B = C, so D = 1 + 1 = 2.
    Now C = A, so D = 2 + 1 = 3.

    Now D =/= 0 or 1, so D is equilateral.

    Is this what you need? Or do you need it in terms of x?
    basically I need 3 sets of 3 different numbers for each triangle, so 3 sets of different numbers that will end up being isos, 3 sets if 3 different numbers that will end up being equilateral and 3 sets of 3 numbers that will end up being scalene... If that makes sense D; sorry to be awkward and having a lack of knowledge in the subject, but it seems what is simple for you, is tricky for me

    on phone xox

  10. #10
    Join Date
    Sep 2004
    Location
    Scotland
    Posts
    17,016
    Tokens
    34,727

    Latest Awards:

    Default

    Quote Originally Posted by lRhyss View Post
    basically I need 3 sets of 3 different numbers for each triangle, so 3 sets of different numbers that will end up being isos, 3 sets if 3 different numbers that will end up being equilateral and 3 sets of 3 numbers that will end up being scalene... If that makes sense D; sorry to be awkward and having a lack of knowledge in the subject, but it seems what is simple for you, is tricky for me

    on phone xox
    Well, once you have found a set, you can find another set by multiplying all numbers in that set by the same number.

    So if A = 1, B = 1, C = 1 is equilateral, that means A = 2, B = 2, C = 2 is also equilateral.

    For Isosceles you will have two sides the same and one different, so A = 2, B = 2, C = 1.

    For Scalene, all three will be different, but you need to make sure you can't add two of them to get the third. So A = 4, B = 2, C = 1.

    Can you figure out 1 more solution for equilateral and 2 more solutions for Isosceles and Scalene now?

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •