Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PROBLEM 3 : ( 1 0 points ) Consider the N times N tridiagonal matrix A = 1 / h ^ 2 ( [

PROBLEM 3: (10 points) Consider the N \times N tridiagonal matrix
A=1/h^2([2\epsi +h^2-\epsi 0...000; -\epsi 2\epsi +h^2-\epsi ...000; .....................; ............-\epsi 2\epsi +h^2-\epsi ; ............0-\epsi 2\epsi +h^2])
1 and the vector f=(f_1,..., f_N)^T, where f_i=2 i h+1, h=2^-n, N=2^n-1, n=1,2,...,8. Take \epsi =10^-3 and solve the system A u=f using L U factorization for tridiagonal matrix as discussed in the notes. In your code do not create the matrix A. For each value of n=1,2,...,8, plot the points (x_i, u_i), i=1,..., N, where u is the solution of the system and x_i=i h.

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

Object Databases The Essentials

Authors: Mary E. S. Loomis

1st Edition

020156341X, 978-0201563412

More Books

Students also viewed these Databases questions

Question

1. How might volunteering help the employer and the employee?

Answered: 1 week ago