ComputerAssignment I

Post on 14-Dec-2015

9 views 0 download

description

assignment

Transcript of 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.