In this case,
Plug these values into the equation above.
When we graph this equation in algebra xpresser, we get this picture.
This picture gives us lots of information. First we need to know what
to use from the graph. We only need the part from x = 0 to x = about 8.
When x is negative, the problem does not make sense (you can't have a negative
amount to remove). Now let's zoom in on the relevant part of the graph.
If we can find the maximum of the curve (the highest point), we will
have the maximum volume on the y axis and the amount to remove from each
corner on the x axis. Make some guesses and graph those lines.
From just looking at the graph, we can conclude the volume is maximized
around 513 and the part removed would equal about 3.04. These are just approximations.
Click here to open the GSP sketch to vary
the value of x.
This gives a better idea of where the components of the dimensions arise
from (25 - 2x,etc.).
In this case x has increments of 0.00001. We could get an even closer
approximation if we make these increments smaller. But for the purposes
of the problem, they are already smaller than we would actually be able
to use.
By graphing and making some approximations for x then checking them by
graphing the lines, we see that at a volume of 400 cubic inches, you could
cut away 1.5 inche square from each side or 4.82 inch square from each side.