Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Do not use numpy or scipy please. Write a program that checks to see if a matrix is symmetric, positive definite and, if so ,

Do not use numpy or scipy please. Write a program that checks to see if a matrix is symmetric, positive definite and, if so, uses the Cholesky method to solve the matrix equation and if not, uses the Doolittle method. 'Apply your program to the following two problems with your solution vectors printed nicely and an indication of which numerical method was used:
x1-x2+3x3+2x4=,15
-x1+5x2-5x3-2x4=,-35
3x1-5x2+19x3+3x4=,94
2x1-2x2+3x3+21x4=,1
4x1+2x2+4x3=,20
2x1+2x2+3x3+2x4=,36
4x1+3x2+6x3+3x4=,60
2x2+3x3+9x4=,122
image text in transcribed

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

Students also viewed these Databases questions