Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write Python code (or modify code in 4.4 ) to do the following: Input into a variable A the matrix ([4.1,2.8],[9.7,6.7]) . Input into a

Write Python code (or modify code in 4.4 ) to do the following:\ Input into a variable

A

the matrix

([4.1,2.8],[9.7,6.7])

.\ Input into a variable

b

the vector

(4.1,9.7)

.\ Use the LU method to solve the linear system

Av=b

. Denote the solution you find by

v1

.\ Input into a variable

db

the vector

(0.01,0)

.\ Use the LU method to solve the linear system

Av=b+db

. Denote the solution you find by

v2

.\ Evaluate, in any norm you choose,

||v1-v2|(|

|)/(

|

|)

|v1||

and show that this relative change of the solution is bound from above by the quantity

k(A)*||db|(|

|)/(

|

|)

|b||

, where

k(A)

is the matrix conditioning.

image text in transcribed
Write Python code (or modify code in 4.4 ) to do the following: 1. Input into a variable A the matrix (4.19.72.86.7). 2. Input into a variable b the vector (4.1,9.7). 3. Use the LU method to solve the linear system Av=b. Denote the solution you find by v1. 4. Input into a variable db the vector (0.01,0). 5. Use the LU method to solve the linear system Av=b+db. Denote the solution you find by v2. 6. Evaluate, in any norm you choose, v1v2/v1 and show that this relative change of the solution is bound from above by the quantity k(A)db/b, where k(A) is the matrix conditioning

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

8th Edition

013460153X, 978-0134601533

More Books

Students also viewed these Databases questions

Question

What do Dimensions represent in OLAP Cubes?

Answered: 1 week ago