document.write( "Question 1203542: The first term of an AP is 7 and the sum of the first 40 terms is 1216.
\n" ); document.write( "find the nth term and 20th term
\n" ); document.write( "

Algebra.Com's Answer #839193 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
here's a reference.
\n" ); document.write( "https://byjus.com/maths/arithmetic-progression/\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the formulas are:
\n" ); document.write( "an = a + (n-1) * d
\n" ); document.write( "sn = n/2 * (2a + (n-1) * d)
\n" ); document.write( "sn = n/2 * (a + l)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "an is the nth term
\n" ); document.write( "a is the first term, also able to be called a1.
\n" ); document.write( "n is the number of terms in the progression.
\n" ); document.write( "d is the common difference between the value of a term and the value of the term that comes next in the progression.
\n" ); document.write( "sn is the nth term in the progression.
\n" ); document.write( "l is the last term in the progression.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "as example, let n = 5 and d = 2 and a = 3\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "a5 = a + (n-1) * 2 becomes a5 = 3 + 4 * 2 which becomes 11.
\n" ); document.write( "the progression will be 3,5,7,9,11, confirming the formula is dorrect.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "s5 = n/2 * (2a + (n-1) * d) becomes s5 = 5/2 * (2 * 3 + 4 * 2) which becomes 5/2 * (6 + 8) which becomes 5/2 * 14 which becomes 35.
\n" ); document.write( "the sum of the progression is 3 + 5 + 7 + 9 + 11 which is equal to 35, confirming the formula is correct.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the other formula for sn is s5 = n/2 * (a + l) which becomes 5/2 * (3 + 11) which becomes 5/2 * 14 which becomes 35, confirming the formula is correct.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "in your problem, you have:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "a = 7
\n" ); document.write( "s40 = 1216\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you want to find an and a20.
\n" ); document.write( "n is equal to 40, as given in the description of the problem.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "start with the sn formula, which is sn = n/2 * (2a + (n-1) * d)
\n" ); document.write( "since n = 40 and a = 7 and sn = 1216, the formula becomes 1216 = 20 * (14 + 39 * d)
\n" ); document.write( "simplify to get 1216 = 280 + 780 * d
\n" ); document.write( "subtract 280 from both sides of the equation to get 936 = 780 * d
\n" ); document.write( "solve for d to get d = 936 / 780 = 1.2\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you now have:\r
\n" ); document.write( "\n" ); document.write( "a = 7
\n" ); document.write( "n = 40
\n" ); document.write( "d = 1.2
\n" ); document.write( "sn = 1216\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you can now solve for an.
\n" ); document.write( "formula is an = a + (n-1) * d which becomes a40 = 7 + 39 * 1.2 which becomes a40 = 53.8.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "your alternate formula for sn is sn = n/2 * (a + l) which becomes sn = 40/2 * (7 + 53.8) which becomes sn = 20 * 60.8 which becomes 1216.
\n" ); document.write( "since this is the same as given, this confirms that value of l is 53.8 and the formula of sn = n/2 * (a + l) is correct.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "finally, you are asked to the find the value of the 20th term.
\n" ); document.write( "an = a + (n-1) * d becomes a20 = 7 + 19 * 1.2 which becomes 29.8.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "as a bonus, the sum of the first 20 terms will use the formula of s20 = 20/2 * (7 + 29.8) which is equal to 368.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "i used excel to confirm all these values are correct.
\n" ); document.write( "here's the excel worksheet display.
\n" ); document.write( "\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );