Part 2) Problem-8 in EECS1540-Additional Examples-06Mar2022.pdf solves a system of linear equations using Jacobi's method. Develop the following function based on the provided description below and the problem solution. function Jacobi (A,B) result (x) ! This function solves a system of linear equations (with maximum 3 variables) using Jacobi's Method. ! ! If a system linear equations presented in matrix form as: [A]X=[B], this function will output X. The! ! output of the function, X, is a 3x1 vector which elements are the solutions of the linear system. real (rind-8) dimension (3.3) intent(in):: A

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Answer in fortran

Part 2) Problem-8 in EECS1540-Additional Examples-06Mar2022.pdf solves a system of linear equations using
Jacobi's method. Develop the following function based on the provided description below and the problem
solution.
function Jacobi (A, B) result (X)
T-----
! This function solves a system of linear equations (with maximum 3 variables) using Jacobi's Method.
! If a system linear equations presented in matrix form as: [A]X=[B], this function will output X. The!
! output of the function, X, is a 3x1 vector which elements are the solutions of the linear system.
real (kind=8), dimension (3,3), intent (in) :: A
real (kind=8), dimension (3), intent (in) :: B
real (kind=8), dimension (3) : :X
Page 1 of 2
end function Jacobi
Note: Below you can see a system of three linear equotions in three variables (left) and its matrix form representation (right). In the below matrix
representation of the linear system, the 3x3 matrix on the left side of the equation is called coefficient matrix and the 3x1 matrix on the right side of the
equation is called the column vector of constant terms.
ajx + b¡y + c1z = d\
a, bi c1
az bz c2
azx + b2y + c2z = dz
azx + byy + c3z = d3
a3 b3 c3
Transcribed Image Text:Part 2) Problem-8 in EECS1540-Additional Examples-06Mar2022.pdf solves a system of linear equations using Jacobi's method. Develop the following function based on the provided description below and the problem solution. function Jacobi (A, B) result (X) T----- ! This function solves a system of linear equations (with maximum 3 variables) using Jacobi's Method. ! If a system linear equations presented in matrix form as: [A]X=[B], this function will output X. The! ! output of the function, X, is a 3x1 vector which elements are the solutions of the linear system. real (kind=8), dimension (3,3), intent (in) :: A real (kind=8), dimension (3), intent (in) :: B real (kind=8), dimension (3) : :X Page 1 of 2 end function Jacobi Note: Below you can see a system of three linear equotions in three variables (left) and its matrix form representation (right). In the below matrix representation of the linear system, the 3x3 matrix on the left side of the equation is called coefficient matrix and the 3x1 matrix on the right side of the equation is called the column vector of constant terms. ajx + b¡y + c1z = d\ a, bi c1 az bz c2 azx + b2y + c2z = dz azx + byy + c3z = d3 a3 b3 c3
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Fundamentals of Boolean Algebra and Digital Logics
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education