Ask Experts Questions for FREE Help !
Ask
    leque's Avatar
    leque Posts: 1, Reputation: 1
    New Member
     
    #1

    Aug 10, 2008, 01:06 AM
    How can you program gaussian elimination using Maxima?
    Maxima is like Matlab or Maple.. Im new to it.. I'm having a hard time coding it.

    Here's the algorithm:
    1. Create an augmented matrix, [A:y] by combining the coefficient matrix A with the right hand side vector y to create an n by n + 1 matrix.
    2. Use elementary row operations to eliminate the elements below the main diagonal.
    1. Start at the first diagonal element - a11.
    2. If necessary, swap the current row with a lower row to maximize the diagonal element
    3. Add current row, multiplied by a constant, to each lower row so that the elements below the diagonal element become zero.
    4. Repeat steps 2 and 3 for the next diagonal element.
    3. Starting from the last row, work backward to solve for variables by using substitution. The symbol (') indicates that the element's value is not the same as in the original matrix.
    1. On the last row, xN = y'N/a'NN.
    2. Repeat xi = (y'i - ∑a'ijxj)/a'NN for I = (N - 1)... 1.

    Thank you.

Check out some similar questions!

Nissan maxima [ 3 Answers ]

I have a 1997 nissan maxima. It will not pass emisson's. They tell me it's a misfire in cylinder number 4. what could be causing this and how could I get it fixed. I don't have much money to put in it. Please help.

Gaussian Elimination [ 3 Answers ]

This is my time first asking, so go easy on me, okay? Anyway, for maths C, my class had to learn Gaussian elimination, which involves matrices. The problem is that I don't get how to use it. My question is that, can someone help me by explaining how the whole process work? Better go, see you!

Gaussian Elimination in Maple [ 2 Answers ]

Does anyone know what the program is to complete problems using Gaussian Elimination in Maple?


View more questions Search
 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.