a1x1 + b1x2 + c1x3 = d1
a2x1 + b2x2 + c2x3 = d2
a3x1 + b3x2 + c3x3 = d3

create a c++ program that will accept the values
for a,b,c,d and determine the values for
x1, x2, x3. Display the values for x1, x2, x3...


need help now!!!! pleassee thanks...

Recommended Answers

All 4 Replies

First figure out how to solve it on paper, then write a program to do it similar way.

I have not been a member for long, but I know for a fact that no one is going to write a program for you if all you give them if the instructions for your assignment.

Do exactly what Ancient Dragon has told you to do, and if you encounter an errors or unexpected output we will be happy to help you debug your code and fix those.

>>
a1x1 + b1x2 + c1x3 = d1
a2x1 + b2x2 + c2x3 = d2
a3x1 + b3x2 + c3x3 = d3

Hint : A good way to solve this is by using linear algebra techniques.

I would make use of Cramer's rule and the rule of Sarrus which are easy to use for linear equations in three variables.

-- tesu

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.