当前位置:天才代写 > Matlab代写,专业代做代考仿真建模分析数学视觉机器学习等 > 数值分析导论代写 MATH 5640/6640代写

数值分析导论代写 MATH 5640/6640代写

2022-05-20 15:11 星期五 所属: Matlab代写,专业代做代考仿真建模分析数学视觉机器学习等 浏览:591

MATH 5640/6640 – Introduction to Numerical Analysis II

Homework 4

数值分析导论代写 There are totally 4 problems (2 pages). Submit the code for Problems 3 and 4 in the appendix. Problem 1 [35 points]Given the linear system Ax = b

There are totally 4 problems (2 pages). Submit the code for Problems 3 and 4 in the appendix.

 

Problem 1 [35 points]  数值分析导论代写

Given the linear system Ax = b where

 

 

(a) Apply the Gaussian elimination method to solve the linear system.

(b) Based on the Gaussian elimination obtained in (a), perform the LU decomposition of the matrix A. Express L and U explicitly, and compare A and the product LU.

(c) Based on the lower triangular matrix L and the upper triangular matrix U that you obtain in (b), apply the forward substitution to solve Ly = b and the backward substitution to solve Ux = y. Compare with the solution that you obtain in (a).

 

Problem 2 [15 points]  数值分析导论代写

Given the matrix

 

 

Following steps (a) and (b) to obtain the LU decomposition of the matrix A with partial pivoting.

(a) Apply the Gaussian elimination method with partial pivoting to obtain an upper triangular matrix U. Record the corresponding permutation matrix for each pivoting step, and the numbers lik used to eliminate the zeros in column k.

(b) Based on (a), express the matrices P, L and U explicitly in the decomposition

P A = LU,

where P is a permutation matrix, L is a lower triangular matrix, and U is an upper triangular matrix.

 

数值分析导论代写
数值分析导论代写

 

 

Problem 4 [25 points] (Coding)  数值分析导论代写

Solve the same linear system Ax = b as in Problem 3 but now using the LU decomposition:

(a) Revise the code in Problem 3 properly to obtain the LU decomposition of the matrix A (you need to define a new matrix to store the elements in L).

(b) Apply forward substitution to solve Ly = b.

(c) Apply backward substitution to solve Ux = y. Compare the solution you obtain with the one in Problem 3.

 

数值分析导论代写
数值分析导论代写

 

 

 

更多代写:CS网课exam代考价格  gmat保分  英国生物学网课代考   网课代写essay作业  微观经济学写作  找经济学代写

合作平台:essay代写 论文代写 写手招聘 英国留学生代写

 

天才代写-代写联系方式