Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

LINEAR ALGEBRA AND OPTIMIZATION - SEVZIZC234

ASSIGNMENT 1
Name: Deepikaa E
Register Number: 2023vz70008

1. By Implementing Simplex method and its variant (Big – M ) in


C – language , run a program for a random Matrix of 3 x 3 and
tabulate the results.
2. Write a code to perform Gauss Elimination with and without
pivoting for a n x n , where n is to be taken as a user input.
Using the code , solve a 3x3 system with random coefficients
and right hand side . Do you see any change in values between
the two ?
This program generates random coefficients for a 3x3 system
and then solves it using both Gauss elimination with and
without pivoting. The results are printed for comparison. Due
to the random nature of the coefficients, we may observe
differences in the results between the two methods.

You might also like