Answered step by step
Verified Expert Solution
Question
1 Approved Answer
SFWRTECH 4 MA 3 Challenge Project 1 A n n Hilbert matrix has entries H i j = 1 i + j - 1 ,
SFWRTECH MA
Challenge Project
A Hilbert matrix has entries so it has the form
For dots. generate a Hilbert matrix and a nvector using a nvector with all
entries equal to You can generate these via a function generatorHb. Using the
GaussElimination, forwardSubstitution, and backwardSubstitution functions developed in
Assignment solve the system the system Hwidehat to obtain the approximate solution widehat Find
the norm of the residual Hwidehat and of the error widehat where is the true
solution, ie the nvector with all entries equal to How large can you take before the error is
Also monitor the cond and see how this varies as a function of
Note:
Your PDf submission should include the complete algorithm package including the
following functions: GaussElimination, forwardSubstitution, backwardSubstitution,
generatorHb that work for a general matrix and vector.
You cannot use a builtin Gauss elimination or LU decomposition functions of the
program.
For each your program should print the following vectors: widehat
As part of your solution, you should present the following table in your PDF file
Finally, you should also identify the at which the error goes to
To pass this challenge project, you must:
The data in point and the table in point in the Note above should be included in your
before your code in the pdf file.
Include the complete code for all the functions. Do not print images of the code or paste
code with a black background.
Obtain the correct answers for widehat for the different values of
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started