Question: In this assignment, you are required to write a Julia program to solve the following problems. You will use Pluto notebooks to implement your solutions
In this assignment, you are required to write a Julia
program to solve the following problems. You will use
Pluto notebooks to implement your solutions
Write a function gaussianstep!A::MatrixFloat:: Int in Julia that
performs one step of Gaussian elimination without pivoting, transforming a matrix
into The matrix structure follows the form shown in the image, with
partitions representing rows and columns as they evolve through the elimination
process.
The function takes a matrix of type MatrixFloat and an integer repre
senting the current step of the Gaussian elimination process. It updates the matrix
to reflect the transformation into The function should not perform any
row exchanges no pivoting Your function should operate inplace modifying the
matrix directly
Given an upper triangular matrix and a vector write a Julia
function to solve the system of equations using backward substitution. The
function must have the following signature:
function backwardsubstitutionU::MatrixFloat b::VectorFloat
and it must return a vector.
In question you defined the function gaussianstep!, which performs a single
step of Gaussian elimination on a matrix without pivoting. Use this function to
implement full Gaussian Elimination and use the function you defined in question
to solve a system of linear equations The function signature is
function gaussianeliminationA::MatrixFloat b::VectorFloat
The function returns the solution
Given a lower triangular matrix and a vector write a Julia
function to solve the system of equations using forward substitution. The
function must have the following signature:
function forwardsubstitutionL::MatrixFloat b::VectorFloat
and it must return a vector.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
