Hello, ciciasi!
A rectangle is to be inscribed in a right triangle having sides 6, 8, and 10 inches.
Determine the dimensions of the rectangle with greatest area Did you notice that we have a right triangle? Code:

(0,6)*
 *
 *
 *
+      *
 : *
 :y *
 : *
  +      +      *   
 x (8,0)
The equaton of the hypotenuse is: . [1]
The area of the rectangle is: . [2]
Substitute [1] into [2]: .
And we must maximize the function: .
Got it?
Answers: .
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
If one side of the rectangle is on the hypotenuse,
. . we have a different (and much trickier) problem. Code:
*
* *
* * 8
6 * *
*        *
*  *
*  y *
*  x  *
* * * * * * * * *
:       10        :
Answers: .
Note: In both cases, the maximum area is 12 unitsē.