document.write( "Question 247151: a and b is an integer between 1 and 100, inclusive, which is the measure of two sides of a triangle. What is the probability that the altitude to a and b are equal?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #180365 by Edwin McCravy(20060)\"\" \"About 
You can put this solution on YOUR website!
\r\n" );
document.write( "\r\n" );
document.write( "There is a theorem of geometry that states that if the altitudes\r\n" );
document.write( "to two sides of a triangle are equal, those two sides are equal \r\n" );
document.write( "(the triangle is isosceles).  So the problem is the same as \r\n" );
document.write( "choosing a pair of integers (a,b) where a=b.\r\n" );
document.write( "\r\n" );
document.write( "There are 100 successful pairs:\r\n" );
document.write( "\r\n" );
document.write( "(1,1), (2,2), (3,3), ... (100,100)\r\n" );
document.write( "\r\n" );
document.write( "To calculate the number of possible pairs (a,b)\r\n" );
document.write( "\r\n" );
document.write( "There are 100 choices for a, and for each of those 100\r\n" );
document.write( "choices for a, there are 100 choices for b, so there\r\n" );
document.write( "are 100*100 or 10000 possible pairs,\r\n" );
document.write( "\r\n" );
document.write( "So the probability is \"100%2F10000=1%2F100=0.01\"\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" ); document.write( "
\n" );