Question: java please..... 1. (10 pts) Solve the equations 3w + 22x - 2y +4z 3 36w - 2x +y- 3z-4 w+2x+4y+40z-6 2w + 3x+38y -4z
1. (10 pts) Solve the equations 3w + 22x - 2y +4z 3 36w - 2x +y- 3z-4 w+2x+4y+40z-6 2w + 3x+38y -4z 8 using the Jacobi iteration method, starting from X-[0.1, 0.1, 0.1 0.1]. Be sure to arrange the equations so as to choose your iteration function correctly. Write a Java or C program for this. For the first 20 iterations, print the current vector X, and the residual R-AX-B, and ||RI., i.e., the sum of squares of R. Here A is the matrix of coefficients. Count the number of iterations until IRS 10-6, but do not print them
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
