※ 引述《soloenti (園遊會)》之銘言:
: Right triangle PQR is to be consturcted in the XY-plane so that the
: right angle is at P and PR is parallel to the x-axis. The x- and y-
: coordianates of P, Q, and R are to be integers that satisfy the
: inequailiies -4小於等於X小於等於5 and 6小於等於Y小於等於16
: How many different triangles with these properties could be concturcted?
: Answer : 9900
: 這題我一直抓不到訣竅 請問前輩們該如何解?
: 謝謝
先決定P點: 共有 10 X 11種可能性 (整個平面選一點)
再決定R點: 由於Y座標值與P點相同 但X座標值不能與P點一樣
所以X座標值可能性為 10-1
最後決定Q點: 剛好與R點相反 可能性為 11-1
所以全部共有10 X 11 X (10-1) X (11-1) = 9900 種可能
--
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.162.196.237
討論串 (同標題文章)