MATH 143M Gaussian Elimination Gaussian Elimination without Pivoting Project

CS-MATH 143M(Dr. Saleem)
PROJECT- I (20 points)
FALL 2021
NAME: ________________
DUE in class: Monday 9-27-2021
The purpose of this program is to test Gaussian Elimination (without pivoting) on Hilbert’s Matrix which is known to be
very ill-conditioned. We will also do an operation count and compute the errors in our solution.
DEFINITION : Hilbert Matrix, H, has each of its elements given by: aij = 1/(i + j -1) where i,j go from 1 to n.
MATLAB command >> hilb(5) will create a Hilbert Matrix of order 5×5. For example, in FORMAT RAT, if H denotes the
5×5 Hilbert Matrix, then its first row is 1 1/2 1/3 1/4 1/5 and second row is 1/2 1/3 1/4 1/5 1/6 RAT is for
Rational. We will do calculations in “format short”, so our final answers will have 4 decimal digits only.
PROBLEM
Consider three systems of equations defined by: H x = b , n = size of H. We will take n = 11,12 and 13, where b is a
vector chosen in such a way that the exact solution of our system is [1 1 1 1 …. 1].
(a) Write a program or use the one from our book’s website( https://sites.google.com/site/numericalanalysis1burden/home ),
that performs Gaussian Elimination (without pivoting) to compute the solution for each n (3 solution vectors in all). Your
program should also keep track of the number of multiplications (divisions). The OUTPUT should consist of the solution
vector x, and the norm of the error vector, as shown in the example below:
• for n = 5, the exact solution is, x = Transpose of [1.0 1.0 1.0 ……… …… ]
• computed solution = x*=Transpose of [0.9937 0.999 1.0001 …..]. Round to 4 decimals as you print the solution.
• error = exact solution minus computed solution = Transpose of [0.0063 0.001 0.0001 ….. ]
• infinity norm of the error vector is = 0.0063
• Euclidean norm of the error vector is = 0.0235
• Number of multiplications in my computer program = yyyy
• Number of multiplications for n=5, using the formula in our book, my answer should have been: __________
As shown above, print the seven bullet items for each case, n=11, case n=12 and case n=13, as follows:
Case n = 11
Put all 7 bullet points here
Case n = 12
Put all 7 bullet points here
Case n = 13
Put all 7 bullet points here
(b) Comment on the sources of error for parts (a). Type your answer here:
(c) On the back of this sheet, copy the Gaussian Elimination computer program that you used in part (a).
(d) The output for this project should fit on one sheet (front and back). You do not have to copy the problem statement.
Due in class, Monday September 27.

Calculate your order
275 words
Total price: $0.00

Top-quality papers guaranteed

54

100% original papers

We sell only unique pieces of writing completed according to your demands.

54

Confidential service

We use security encryption to keep your personal data protected.

54

Money-back guarantee

We can give your money back if something goes wrong with your order.

Enjoy the free features we offer to everyone

  1. Title page

    Get a free title page formatted according to the specifics of your particular style.

  2. Custom formatting

    Request us to use APA, MLA, Harvard, Chicago, or any other style for your essay.

  3. Bibliography page

    Don’t pay extra for a list of references that perfectly fits your academic needs.

  4. 24/7 support assistance

    Ask us a question anytime you need to—we don’t charge extra for supporting you!

Calculate how much your essay costs

Type of paper
Academic level
Deadline
550 words

How to place an order

  • Choose the number of pages, your academic level, and deadline
  • Push the orange button
  • Give instructions for your paper
  • Pay with PayPal or a credit card
  • Track the progress of your order
  • Approve and enjoy your custom paper

Ask experts to write you a cheap essay of excellent quality

Place an order