document.write( "Question 1012352: A carpenter wants to construct a simple cabin with a pitched roof. The inside height of this “A-frame” cabin next to the wall must be 8 feet high. The owner wants the inside height of the roof in the middle of the room (at the tallest point) to be 12 feet high. The owner wants the slope of the roof to be 1/3. How wide then must the cabin be? \n" ); document.write( "
Algebra.Com's Answer #628254 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Put this on a graph with the 8' wall on
\n" ); document.write( "the y-axis.
\n" ); document.write( "( 0,8 ) is the inside height of short wall
\n" ); document.write( "( x[1], 12 ) is the middle of the inside roof
\n" ); document.write( "( 2x[1], y[1] ) is the inside height of highest wall
\n" ); document.write( "-------------------------------------
\n" ); document.write( "Equation for the ceiling line would be:
\n" ); document.write( "\"+y+=+m%2Ax+%2B+b+\"
\n" ); document.write( "\"+b+=+8+\" ( y-intercept )
\n" ); document.write( "\"+m+=+1%2F3+\" ( slope )
\n" ); document.write( "\"+y+=+%281%2F3%29%2Ax+%2B+8+\"
\n" ); document.write( "------------------
\n" ); document.write( "Plug in ( x[1], 12 )
\n" ); document.write( "\"+y+=+%281%2F3%29%2Ax+%2B+8+\"
\n" ); document.write( "\"+12+=+%281%2F3%29%2Ax%5B1%5D+%2B+8+\"
\n" ); document.write( "\"+12+-+8+=+%281%2F3%29%2Ax%5B1%5D+\"
\n" ); document.write( "\"+%281%2F3%29%2Ax%5B1%5D+=+4+\"
\n" ); document.write( "\"+x%5B1%5D+=+12+\"
\n" ); document.write( "--------------
\n" ); document.write( "Plug in
\n" ); document.write( "( 2x[1], y[1] )
\n" ); document.write( "\"+y+=+%281%2F3%29%2Ax+%2B+8+\"
\n" ); document.write( "\"+y%5B1%5D+=+%281%2F3%29%2A2x%5B1%5D+%2B+8+\"
\n" ); document.write( "\"+y%5B1%5D+=+%281%2F3%29%2A2%2A12+%2B+8+\"
\n" ); document.write( "\"+y%5B1%5D+=+8+%2B+8+\"
\n" ); document.write( "\"+y%5B1%5D+=+16+\" ( this was an extra step )
\n" ); document.write( "-------------
\n" ); document.write( "\"+2x%5B1%5D+=+24+\"
\n" ); document.write( "The width of the cabin is 24'
\n" ); document.write( "-------------------------
\n" ); document.write( "Here's a plot of this ceiling line:
\n" ); document.write( "\"+graph%28+700%2C500%2C+-4%2C+28%2C+-4%2C+20%2C+%281%2F3%29%2Ax+%2B+8+%29+\"
\n" ); document.write( "
\n" );