CSC201 Solution of Simultaneous Algebraic Equations Using Lower-Upper Decomposition Method

Solved assignment explaining LU decomposition for solving simultaneous algebraic equations.

Lucy Gray
Contributor
4.3
51
6 months ago
Preview (3 of 7 Pages)
100%
Purchase to unlock

Page 1

CSC201 Solution of Simultaneous Algebraic Equations Using Lower-Upper Decomposition Method - Page 1 preview image

Loading page ...

CSC201Solution of Simultaneous Algebraic Equations Using Lower-Upper Decomposition MethodCSC201Project#3Summer15Print Name:_____________________________________________________Academic Honesty Policy:Students at the college are expected to be honest and forthright intheir academic endeavors. To falsify the results of one’s research, to steal the words or ideasof another, to cheat on an examination, or to allow another to commit an act of academicdishonesty corrupts the essential process by which knowledge is advanced. It is the officialpolicy of the Northern Virginia Community College that all acts or attempted acts of allegedacademic dishonesty be reported to the Dean of Students Office.By signing below, I acknowledge that I have read the above and that I have neither given norreceived assistance on this examination.Sign Name: _______________________________________________________3.Solution of Simultaneous Algebraic Equations ***:In algebra, we often have to solve simultaneous differential equations. If the equationsare linear and independent, there is a unique solution when the number ofequationsequals the number of variables. If there are only two variables and two equations, it’seasy, but as the number of equations and unknowns increases, the problem becomesmore difficult. Imagine, for example trying to solve 100 equations in 100 unknowns.That's an unthinkably difficult manual exercise, but a good computer program can doit in less than a second.Suppose you want the solution to this pair of equations:2*x+y =14 * y = 12In the first equation, the coefficient ofxis 2 and the coefficient ofyis1. In the secondequation, the coefficient ofxis 0, and the coefficient ofyis 4. The right-side values are1 and 12, respectively. It's easy to solve this pair of equations by hand. The secondequation saysy= 12/4 = 3, and substituting this back into the first equation givesx=(1-3)/2 =-1. The program you'll write will solve this problem like this:Sample session:Number of Equations & Unknowns:2Enterequation 0's coefficients separated by spaces:

Page 2

Page 3

Preview Mode

This document has 7 pages. Sign in to access the full document!

Study Now!

XY-Copilot AI
Unlimited Access
Secure Payment
Instant Access
24/7 Support
Document Chat

Document Details

Related Documents

View all