By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,409 Members | 952 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,409 IT Pros & Developers. It's quick & easy.

Gauss Jacobi and Seidal on C++

P: 50
I've got an assigment on C++..
Here it is:

It first clears the screen and then displays the next 3 lines.

a1x + b1y + c1y =d1
a2x + b2y + c2y =d2
a3x + b3y + c3y =d3

The user is then required to input the integer values for a, b, c, d and the required accuracy for which he wants the calculation. ( e.g. 3 decimal places etc.)

The user is then required to select either (1) Gauss Jacobi.
(2) Gauss Seidel.

As final output the number of iterations performed and the correct value for x, y and z should be displayed.

Plzzz help
Nov 2 '06 #1
Share this Question
Share on Google+
3 Replies

P: 85
Which part are you having trouble with?

To get the gauss-siedel/ jacobi algorithms just google them.
Nov 4 '06 #2

P: 1
Well the whole question is the problem;

I am getting a lot of errors when compiling:

To do it; Arrays and for loops should be used.
The program would be then simple.

Can anybody out of here write the whole C++ program for us; using arrays and for loops.

C++ Gurus wanted
Nov 4 '06 #3

P: 1
To clear screen, you can use:

#include <stdlib.h>

Nov 4 '06 #4

Post your reply

Sign in to post your reply or Sign up for a free account.