document.write( "Question 429336: What is the area of a rectangle with vertices (2,4),(5,4),(5,10), and (2,10) \n" ); document.write( "
Algebra.Com's Answer #298440 by Alan3354(69443)\"\" \"About 
You can put this solution on YOUR website!
What is the area of a rectangle with vertices (2,4),(5,4),(5,10), and (2,10)
\n" ); document.write( "---------------------
\n" ); document.write( "The diff in x is 3 (5-2)
\n" ); document.write( "The diff in y is 6 (10-4)
\n" ); document.write( "Area = 3*6 = 18 sq units.
\n" ); document.write( "----------------------
\n" ); document.write( "Another way, if the points are randomly spaced:
\n" ); document.write( "A B C D A
\n" ); document.write( "2 5 5 +2 +2
\n" ); document.write( "4 4 10 10 4 (the +'s are for alignment)
\n" ); document.write( "-------------
\n" ); document.write( "Add the diagonals from upper left:
\n" ); document.write( "2*4 + 5*10 + 5*10 + 2*4 = 116
\n" ); document.write( "Add the diagonals from lower left:
\n" ); document.write( "4*5 + 4*5 + 10*2 + 10*2 = 80
\n" ); document.write( "116 - 80 = 36
\n" ); document.write( "Area = 36/2 = 18, same answer
\n" ); document.write( "That works for any number of points placed anywhere.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );