CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2009
    Location
    USA
    Posts
    49

    Resolved Equations Problem

    I need help with this question:

    Find what a,b,and c is. They must be integer answers.

    The equation goes like this:
    Code:
    35a+55b+77c=1
    I'm totally confused, I can think of a solution but they are decimals...but that's not the point of this question.

    Thanks to those who help.

  2. #2
    Join Date
    Oct 2006
    Posts
    616

    Re: Equations Problem

    This type of equation is called a Diophantine equation.
    There is a known solution for a Diophantine equation of the form:
    Code:
     ax + by = c
    Where a,b and c are constants.

    See this link for reference on how to try and solve a Diophantine equation of the form:
    Code:
    ax + by + cz = d
    Regards,
    Zachm

  3. #3
    Join Date
    Jul 2009
    Location
    USA
    Posts
    49

    Wink Re: Equations Problem

    Thanks, I will try to read the link first, attempt the question, and post my findings to see if I'm right...or need additional help.

    Thanks so much, also could you take a look at my other thread question in this board.

    http://www.codeguru.com/forum/showthread.php?t=485507
    Last edited by coder752; October 2nd, 2009 at 10:57 AM.

  4. #4
    Join Date
    Jul 2009
    Location
    USA
    Posts
    49

    Exclamation Re: Equations Problem

    I solved it now...thanks.

    But please help me with my other Discrete Structures question:

    http://www.codeguru.com/forum/showthread.php?t=485507

Tags for this Thread

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured