document.write( "Question 1086752: Solve for n: \r
\n" ); document.write( "\n" ); document.write( "S = n/2 (a + l) \r
\n" ); document.write( "\n" ); document.write( "2S = n (2a + 2l) \r
\n" ); document.write( "\n" ); document.write( "2S / 2 = 2an + 2ln / 2 \r
\n" ); document.write( "\n" ); document.write( "S = an + ln \r
\n" ); document.write( "\n" ); document.write( "How do I continue? Non-homework.
\n" ); document.write( "

Algebra.Com's Answer #701003 by math_helper(2461)\"\" \"About 
You can put this solution on YOUR website!
\"+S+=+%28n%2F2%29%28a%2Bl%29%29++\" <<< Assuming this is what you intended for starting expression, same as S=(n/2)(a+l)
\n" ); document.write( "\"+%28n%2F2%29%28a%2Bl%29+=+S+\" ( Rearranged left and right sides, since we're solving for n let's write it on left. )
\n" ); document.write( "\"+n%28a%2Bl%29+=+2S\" ( Multiplied both sides by 2. )
\n" ); document.write( "\"+n+=+2S%2F%28a%2Bl%29+\" ( \"+cross%28Multiplied%29+\" Divided both sides by a+l. Done. )
\n" ); document.write( "—\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Your 2nd step above has an error: S = (n/2)(a+l) becomes 2S = n(a+l) after multiplying both sides by 2, not 2S=n(2a+2l).
\n" ); document.write( "
\n" ); document.write( "\"S++=+%28n%2F2%29%28a%2Bl%29+\"
\n" ); document.write( "\"2S+=+%282n%2F2%29%28a%2Bl%29%29+\"
\n" ); document.write( "\"+2S+=+cross%282%29n%2F%28cross%282%29%29+%2A+%28a%2Bl%29+\"\r
\n" ); document.write( "\n" ); document.write( "——
\n" ); document.write( "7/5/17 - I corrected my last two steps, which had an error. Apologies for that.
\n" ); document.write( "7/8/17 - Meant to add that the domain restriction \"+a%2Bl+%3C%3E+0+\" must accompany the answer.
\n" ); document.write( "
\n" );