65.5k views
3 votes
Write a function to model the volume of a rectangular prism if the length is 24cm and the sum of the width and height is 28cm

User MacMark
by
6.4k points

1 Answer

7 votes


w + h = 28


l * w * h = v


v = w * h * 24


w = 28 - h


h(28 - h) * 24 = v


24( - {h}^(2) + 28h) = v

User Gaurav Parashar
by
7.1k points