logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Cora RosarioTechnical writing
(5/5)

884 Answers

Hire Me
expert
Liam PattersonEnglish
(5/5)

876 Answers

Hire Me
expert
Vasim KhanPhilosophy
(5/5)

835 Answers

Hire Me
expert
Umar KhalidManagement
(5/5)

520 Answers

Hire Me
Mathematics
(5/5)

Write a code to perform Gauss elimination with and without pivoting for a 2 x 2 system, taking the number of significant digits

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Assignment 1

Mathematical Foundations for Data Science Instructions

1. Use any programming language (other than Excel) of your choice. Attach only the relevant data in your submission and no need to submit the code.

2. By random entries, I mean a system generated random number. No marks would be awarded for deterministic entries.

3. This is not a group activity. Each student should do the problems and submit individually.

4. Assignments have to be handwritten and uploaded as a single pdf file with name BITSID.pdf

5. Submissions beyond 11th of June, 2021 17.00 hrs would not be graded

6. Assignments sent via email would not be accepted

7. Copying is strictly prohibited. Adoption of unfair means would lead to disciplinary action.

Answer all the questions

Q1) Write a code to perform Gauss elimination with and without pivoting for a 2 x 2 system, taking the number of significant digits (d) to be considered as user input. Using the code, solve the 2 x 2 system with random coefficients for d = 3, 4, 5 and 6. Display the results in a tabular form. (5)

Q2) Write a code to perform (5)

a) Gauss Jacobi method

b) Gauss Seidel method

for a 3 x 3 system by checking the convergence criteria using a suitable norm. Test the method on a random 3 x 3 system, which is diagonally dominant and check your results. A comparison between the two methods should be presented in tabular form. The stopping criteria could be taken as the low- est iteration number when the relative percentage error is less than 1%.

Generate a random matrix of size 3 x 3 which cannot be made diagonally dominant and check if the iterates converge. The random entries generated should be of the form n.dddd

(5/5)
Attachments:

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme