the area of a rectangle is 15 square centimeters and the perimeter is 16 square centimeters . what are the dimensions of the rectangle ?
let x and y be the length and width of the rectangle . using the formulas for the area and the perimeter , we can write two equations . 15 = x y and 16 = 2 x + 2 y solve the second equation for x x = 8 - y substitute x in the equation 15 = x y by 8 - y to rewrite the equation as 15 = ( 8 - y ) y solve for y to find y = 3 and y = 5 use x = 8 - y to find x when y = 3 , x = 5 and when y = 5 , x = 3 . the dimensions of the rectangle are 3 and 5 . as an exercise , check that the perimeter of this rectangle is 16 and its area is 15 . answer a
divide(subtract(15, sqrt(subtract(power(15, const_2), multiply(const_4, 16)))), const_2)