okay i had a math problem in class today and this isn't from a textbook
here it is
Input----Output
1------ 4
2------ 8
3------ 24
4------ X
Solve X, and the answer is not 4, 96, or 32. Please Help me ASAP!!!!!
Use a quadratic polynomial in n:
When the Input is n, assume the Output is .
Substituting the given data:
When the Input is 1, the Output is .
When the Input is 2, the Output is .
When the Input is 3, the Output is .
So we solve the system of equations:
Solve that system by any method you know, and get
, , and
So the expression
becomes
. Therefore, to check the first three terms in
the equation to see if it is correct:
When the Input is 1, the Output is .
When the Input is 2, the Output is .
When the Input is 3, the Output is .
Those are correct, so to get the next term we substitute n=4:
When the Input is 4, the Output is .
Edwin