ComputerAssignment I

1
ESO 208A: COMPUTATIONAL METHODS IN ENGINEERING Semester I, 2015-16 Computer Assignment # 1 Due on Thursday, September 10, 2015 Write a program (preferably in Matlab and without using the inbuilt functions) for solving a system of ‘n’ linear equations using (a) Gaussian elimination with partial pivoting and (b) LU Decomposition. Demonstrate the efficiency of the algorithm by taking a numerical example. The program should take input from a file and write the output in another file.

description

assignment

Transcript of ComputerAssignment I

Page 1: ComputerAssignment I

ESO 208A: COMPUTATIONAL METHODS IN ENGINEERING

Semester I, 2015-16

Computer Assignment # 1

Due on Thursday, September 10, 2015

Write a program (preferably in Matlab and without using the inbuilt functions) for solving a system of ‘n’ linear equations using (a) Gaussian elimination with partial pivoting and (b) LU Decomposition. Demonstrate the efficiency of the algorithm by taking a numerical example. The program should take input from a file and write the output in another file.