CodeGuru Forums -
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic Newsletters VB Forums Developer.com


Newest CodeGuru.com Articles:

  • Deploying Windows Server 2008 with System Center
  • Remote Desktop Protocol Performance Improvements in Windows Server 2008 R2 and Windows 7
  • The Microsoft Dynamics CRM Security Model
  • SQL Server Modeling Services with Microsoft Visual Studio 2010 Beta 2

  • Search CodeGuru:
     



    Go Back   CodeGuru Forums > General Discussion > Algorithms & Data Structures
    FAQ Members List Calendar Search Today's Posts Mark Forums Read

    Algorithms & Data Structures Discuss algorithms & data structures. Topics are not specific to any programming language.

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1    
    Old September 30th, 2009, 08:19 PM
    coder752 coder752 is offline
    Member
     
    Join Date: Jul 2009
    Location: USA
    Posts: 47
    coder752 is an unknown quantity at this point (<10)
    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.
    Reply With Quote
      #2    
    Old October 1st, 2009, 06:30 AM
    Zachm's Avatar
    Zachm Zachm is offline
    Member +
     
    Join Date: Oct 2006
    Posts: 519
    Zachm  is a jewel in the rough (300+) Zachm  is a jewel in the rough (300+) Zachm  is a jewel in the rough (300+) Zachm  is a jewel in the rough (300+)
    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
    Reply With Quote
      #3    
    Old October 1st, 2009, 08:16 AM
    coder752 coder752 is offline
    Member
     
    Join Date: Jul 2009
    Location: USA
    Posts: 47
    coder752 is an unknown quantity at this point (<10)
    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 11:57 AM.
    Reply With Quote
      #4    
    Old October 2nd, 2009, 11:58 AM
    coder752 coder752 is offline
    Member
     
    Join Date: Jul 2009
    Location: USA
    Posts: 47
    coder752 is an unknown quantity at this point (<10)
    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
    Reply With Quote
    Reply

    Bookmarks

    Tags
    equation three variable
    Go Back   CodeGuru Forums > General Discussion > Algorithms & Data Structures


    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 02:13 PM.



    Acceptable Use Policy


    The Network for Technology Professionals

    Search:

    About Internet.com

    Legal Notices, Licensing, Permissions, Privacy Policy.
    Advertise | Newsletters | E-mail Offers


    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.