00:01
All right, hello.
00:01
In this question we are trying to construct a rectangular tank with a square base which is xx, x times x, and it's going to be placed in the ground and catch water.
00:12
It has a height of y and we are given that the cost function is equal to 5 times x squared plus 4xy plus 10xy and we know that the volume of our vessel needs to be 20 cubic meters.
00:25
So to start i'm going to just expand this cost function since it looks like there's some like terms in there and it'll just make it a little easier to work with.
00:34
And so simplifying that down we get 5x squared plus 30xy and now we need our constraint function and our constraint function is going to be v here.
00:44
So we know that v is equal to x squared times y, the area of the base, times the height.
00:50
We want that to equal 20.
00:52
And so solving this for y since it's a little more simple will take will be 20 over x squared.
00:58
So we know that x can't be zero for this to work and so we want to just then plug that into our cost function.
01:07
So we have 5x squared plus 30x times 20 over x squared and simplifying that down we get our cost as a function of x is going to be 5x squared plus 600 over x.
01:24
And now we want to minimize this cost function.
01:26
So to do that we're going to take the first derivative which is going to be 10x minus 600 over x squared.
01:34
Noting that x cannot equal zero we're going to set this equal to zero and solve.
01:40
So we'll have 10x cubed equals 600.
01:46
X cubed then equals 60 and x will equal the cubed root of 60 which i'll write as 60 to the one third.
01:57
Just to quickly check that that is indeed a minimum i'm going to take the second derivative here and perform the second derivative test.
02:04
So we'll get 10 minus 1200 over x cubed.
02:08
This will actually be a plus there.
02:11
And so if i plug in 60 to the one third i'm going to have a positive value.
02:19
It's going to be greater than zero because there's no negatives in there...