0 suguna07 7 Years Ago Hi everyone, can someone help to solved this question I have attach the question.....please help me Thank you java Attachments java.docx (11.73 KB)

0 OPDiscussion Starter suguna07 7 Years Ago 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];

0 NormR1 563 7 Years Ago 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. Edited 7 Years Ago by NormR1: n/a