April 28th, 2011, 03:45 PM
No she did not discuss the Gaussain method. As far as i know its Solving Simultaneous equations by the use of matrices
April 28th, 2011, 03:12 PM
Oh yes I can calculate simultaneous equations by hand. I just found it difficult using a loop to attempt to calculate them with like addition. I just don't understand the whole calculation via a loop...
April 28th, 2011, 03:03 PM
By the exact sequence of steps you mean how the program will input, calculate and display?
April 28th, 2011, 02:49 PM
she has also posted the 1D Array
1-D Arrays in C++
#include <iostream>
using namespace std;
void main()
{ /* declare variables */
int values[10];
int i;
April 28th, 2011, 02:40 PM
I think I might have the program wrong.. It's a Matrices program that calculates ONE 2D Array of rows and columns together to display a final Matrices.
So you think if i change the values to 1...
April 28th, 2011, 02:32 PM
cout<<row + col<<" ";doesn't add anything; it simply outputs current row index + current column index, which makes no sense at all.[/QUOTE]
but when the program runs it asks for input, to put into...
April 28th, 2011, 02:24 PM
Sorry let me explain. The two arrays being used are numbers [3] [4]
which are initialized in the for loop when in the:
"cin>>numbers[row][col]"
So rows is array [3] and cols is array [4]
I...
April 28th, 2011, 02:08 PM
1. the two arrays are numbers [3] [4] for the rows and columns to which i have to calculate together.
2. I'm sorry but the for loop code, for the rows and cols, is what the lecturer had posted for...
April 28th, 2011, 01:20 PM
Hey everyone, I'm having a little problem with adding two arrays together, as part of a Matrices program. Ive got the code for adding the matrices, I really dont think its right at all.
Here's...