document.write( "Question 967747: Suppose you have the following sequence of runtime for an operation: 3, 6, 11, 18, 27, 38,...
\n" );
document.write( "• List the next 2 elements in the sequence.
\n" );
document.write( "• Determine the general equation that yields results for any element of the sequence.
\n" );
document.write( "• What is the runtime for matrix multiplication operations in terms of big-O notation?\r
\n" );
document.write( "\n" );
document.write( "I am really lost on how to do this. Please send help. SOS. Thank You
\n" );
document.write( " \n" );
document.write( "
Algebra.Com's Answer #591545 by rothauserc(4718)![]() ![]() You can put this solution on YOUR website! For the given series \n" ); document.write( "3, 6, 11, 18, 27, 38 \n" ); document.write( "first differences between numbers in series \n" ); document.write( "3, 5, 7, 9, 11 \n" ); document.write( "second differences from first differences is \n" ); document.write( "2, 2, 2, 2 \n" ); document.write( "we have a geometric series of order 2, that is \n" ); document.write( "n^2 \n" ); document.write( "************************************************** \n" ); document.write( "return to original sequence \n" ); document.write( "3 6 11 18 27 38 \n" ); document.write( "n^2 terms for nth term are \n" ); document.write( "1 4 9 16 25 36 \n" ); document.write( "differences is are \n" ); document.write( "2 2 2 2 2 2 \n" ); document.write( "****************** \n" ); document.write( "This must mean that the rule to find any nth term in this sequence is; \n" ); document.write( "n^2 +2 \n" ); document.write( "******************* \n" ); document.write( "now we can answer the questions \n" ); document.write( "******************************* \n" ); document.write( "1) the next two numbers in the sequence are \n" ); document.write( "7^2 +2 = 51 \n" ); document.write( "8^2 +2 = 66 \n" ); document.write( "the next two numbers are 49, 66 \n" ); document.write( "********************************** \n" ); document.write( "2) n^2 + 2 \n" ); document.write( "********************************** \n" ); document.write( "3) take multiplying two n x n matrices, then \n" ); document.write( "there are n^2 elements in the output matrix, that would require \n" ); document.write( "n*n^2 = n^3 operations to compute the entire matrix - that is, the \n" ); document.write( "speed of the most straightforward algorithm is O(n^k), where k = 3. \n" ); document.write( " \n" ); document.write( " |