Answer:
The value is
![k = 3 \ inches](https://img.qammunity.org/2021/formulas/mathematics/college/rws3z8h2h5metu9mod7a7khegsvnmyrcqm.png)
Explanation:
From the question we are told that
The length is
![l = 25 \ ft](https://img.qammunity.org/2021/formulas/mathematics/college/9lpiacm2je9zwspwzvqti7n8iwxb60kf9i.png)
The width is
![w = 12 \ inches = (12)/(12) = 1\ ft](https://img.qammunity.org/2021/formulas/mathematics/college/8lraoo66cc2vxlr66imuo62r2mzig63a44.png)
Generally let assume that (k ft) was turned up on each side hence the remaining width is
![(1 - 2 k ) \ ft](https://img.qammunity.org/2021/formulas/mathematics/college/lfvp4mp598bcd3nrzt95cjvcu4p0kxs5um.png)
Now the capacity is also the volume it can hold which is mathematically represented as
![C = 25 (1- 2k) k](https://img.qammunity.org/2021/formulas/mathematics/college/wy1x5inx3r68d6yypuclqv5usy41mbr4bi.png)
![C = 25 (k- 2k^2)](https://img.qammunity.org/2021/formulas/mathematics/college/kavnd1f6xoes8b38wfajzdb6hptnue5mfw.png)
![C = 25k - 50k^2](https://img.qammunity.org/2021/formulas/mathematics/college/km60ug38l5mf1b1kood71e5sinxe3rb5af.png)
At maximum or minimum
![(dC)/(dk) = 0](https://img.qammunity.org/2021/formulas/mathematics/college/jcueg4u7f1tilmckxks3xkq930hkvcf3wq.png)
=>
![(dC)/(dk) = 25 - 100k = 0](https://img.qammunity.org/2021/formulas/mathematics/college/6fi7sa18dbnb7d5no50ydslkdxw4si0nol.png)
=>
![k = 0.25\ ft](https://img.qammunity.org/2021/formulas/mathematics/college/4w4e6gaf4efb6dta2f9745ew3wlnibbqra.png)
Now to see if the value obtained is positive or negative we differentiate a second time
So
![(d^2C)/(dk^2) = - 100k](https://img.qammunity.org/2021/formulas/mathematics/college/7ssisryqpi2kiyr3yog5ts7efa0l9dbzh9.png)
at k = 0,25 ft
![(d^2C)/(dk^2) = - 100(0.25)](https://img.qammunity.org/2021/formulas/mathematics/college/5hog005zit90bi72r3l3ycaavbpp050zss.png)
![(d^2C)/(dk^2) = -25](https://img.qammunity.org/2021/formulas/mathematics/college/gv212t3kk18xbhft9d9jjch45omgnpg7ah.png)
since a negative value is obtained then k is the maximum value
converting to inches
![k = 0.25 * 12](https://img.qammunity.org/2021/formulas/mathematics/college/a1by159qe7qn5iynsux82b2vtcpi8qw45h.png)
![k = 3 \ inches](https://img.qammunity.org/2021/formulas/mathematics/college/rws3z8h2h5metu9mod7a7khegsvnmyrcqm.png)