Hi everyone, can someone help to solved this question

I have attach the question.....please help me

Thank you

What is the question?

Please post it here so all can read it.

ok....but the equation will be change...

here is the question :

Find x value in for loop structure:
A x = b
4x1 + x2 - x3 + x4 = -2
X1 + 4x2 – x3 - x4 = -1
-x 1 – x2 +5x3 +x4 = 0
X1 - x2 + x3 +3x4 =1

X i = (bi - ∑_█(j=1@j≠i)^4▒〖 a〗 ij xj , 1≤ i ≤ 4)/aii

In order to this structure
While (true)
{
For (i=0 ; i <n ; i++)
{
X_n1 =b;
For (j=0 ; j<=i-1 ; j++)
{
X_n1 =(x_n1 –A [j] * x_n[j]) ;
}
For ( j = i+1; j<n ; j++)
{
X_n = (n_x1 –A [j] * x_n[j] );
}
X_n1 = x_n1 / A [j];

What is your java programming question?
Do you have an algorithm for the solving the problem?

You need to go to some math or academic site and get an algorithm and then convert that to a design for writing java code.

Good luck.

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.