simultaneous equations in c++

    Question by:


    could anyone please help me with source code or some advice on writing a program to solve a set of 3 equations with 3 unknowns. i have found code for solving sets of 2 equations with 2 unknowns but i can't seem to convert this to deal with 3 equations.
    Good Question?

    Featured Post

    Course: AWS Professional Certification

    These classes are designed to help you pass the AWS Certified Solutions Architect – Associate, AWS Certified Developer, and AWS Certified SysOps Administrator Associate exams—all essential to a career as an AWS professional.

    Top Expert Contributor

    Essential articles and videos from the Experts

    This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
    Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
    The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
    The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

    More valuable questions with Expert answers

    Question: A& A::operator= (const A& a) { if (this == &a) return (*this); <---- } Does the above make sense? shouldn't we be returning this and not *this?

    Answer: A& would return the address of the object. *this the value. they are not the same. *this dereferences the 'this' pointer. so it actually is a reference to the object itself. if you return *this you would return the specified return type....


    Question: I have been using POI for a few years to generate excel files for users. I've recently had to move from xls files (HSSF) to xlsx files (XSSF) due to the number of rows in a particular export. Unfortunately, this has resulted in a massive...

    Answer: We went with the streaming option as we found the correct documentation where this can be accomplished with a template.

    Question: I have this code and when it is ran it shows the form the first time only. Thereafter, it just shows the scores never showing the dropdown again. How do I get it to show the dropdown so someone can continue to make their choices? I am new to...

    Answer: It shows the form only once because of line 73. The code means: if the user has made a choice process the data and show the table otherwise (}else{ at line 73) show the form. You can change it this way: (CODE) This wy the form will be always...

    Question: I have a Microsoft Access database that has multiple tables, queries, forms, reports, macros and modules. I am looking for a way to password protect each of those tables, queries, reports, etc individually. A question on top of that, is there a...

    Answer: Before the Ribbon, you used to be able to sew things up fairly tight. Since the Ribbon, it is much, much harder Here's more thoughts on your quandary ...


    Extend your technology team with the Experts Exchange community.

    — trusted by —

    Who answers my questions?Our community has technology experts around the world.

    Amitkumar Panchal



    Expert in:

    • Java
    • Java EE
    • JSP
    • Oracle Database




    Expert in:

    • Java EE
    • JSP
    • Java






    Expert in:

    • .NET Programming
    • C#
    • System Programming
    • Visual C++.NET
    • ASP.NET




    Expert in:

    • Java
    • Apache Flex
    • Adobe Flash
    • Editors IDEs
    • Miscellaneous




    Expert in:

    • Java
    • Java EE
    • JSP
    • Programming-Other
    • Game Programming




    Expert in:

    • Math / Science
    • Algorithms
    • Miscellaneous
    • Components
    • Hardware-Other

    uday kiran reddy





    Matthew Richardson








    RELATED TOPICS view all topics

    1. Visual Basic Classic
    2. Programming-Other
    3. Java
    4. Scripting Languages
    5. .NET Programming
    6. C#
    7. C++
    8. VB Script
    9. Visual Basic.NET
    10. Windows XP