#Optimization
164 messages · Page 1 of 1 (latest)
- Wait patiently for a helper to come along.
- Once someone helps you, say thank you and close the thread with:
+close
- Feel free to nominate the person for helper of the week in #helper-nominations
- Do not ping the mods, unless someone is breaking the rules.
- If you're happy with the help you got here, and the server overall, you can contribute financially as well:
Oh and I cant send images
you can man
thats lovely
comeone bro
can you not clipboard it?
i believe in you homie
everyone can send images in this channel
lemme do it like this
alr
doesn't let me ctrl v it for some reason
either way
so with this optimization question
i'm not entirely sure how to approach in solving it
10a?
yeah
okay well
tell me what the height of the box will be
it will be x
the width will be 28 - 2x
and the length will be 55 - 2x
just x
multiply those three out and i'm pretty sure you get that cubic
no
huh
you know how the volume is l x b x h
yea...
oh yeah you're right ignore me
now you know l is 55-2x, b is 28-2x and h is x
yeah
literally what i said
wolfqz
i just noticed they did NOT understand
bro
yeah so multiplying x(28-2x)(55-2x) = 4x^3 - 166x^2 + 1540x
yeah
the other parts are straightforward
well thats the thing I know how to find the derivative of 4x^3-166x^2+1540x
but I don't know how to find the maximum of things
4x 3 = 12
-166 x 2 = 322
1540x = 1540
12x^2-322x+1540
i dont think he'll get the intuition over text
oh whoops
bro shutup
322
if he doesnt know how to find a maximum it would be really hard to actually understand the why behind the process of finding maxima
we don't need two ppl helping
i got it
alright i am watching
okay good
now let's imagine the graph of the function of the box cubic
so y = 4x^3 - 166x^2 + 1540x
another thing
we know that 0 < x < 28
as if x was bigger than 28 it would go past the whole box
okay so
you have the graph visualized?
when I plot the graph its just a straight line on the y axis no?
i get a straight line
🤷
send screeshot
oh i seee
yea ofc
because the value of 1540x is so much larger than the rest of the values when x is small
it should look like a straight line
but in fac
fact*
the slope is actually just a very very high number
not quite infinity
no it's fine
just use simple intuition
if it's a cubic
it's obviously not a straight line
but for example at x = 0
the slope is 1540
and so in a calculator without a very big zoom-in it would look like a vertical line
jesus christ it doesn't curve until well past y = 2000
it does lol
bro shutup wolf
is what im getting
twist
imagine the function
so basically
in order for it to be a maximum
actually nvm
think of it this way
:
if at a certain point (a, b) it is a local maxima, what are you given about the points right next to that
the points right next to point (a,b)?
yea
a - 1 and a + 1?
okay well let's think
the points right next to a, b
let's call one of them a + something really small, c
you know that because b is a local minimum
c has to be smaller than b, right
yeah
and that's true about a - something really small, c
c still has to be smaller than b, right
yes
so then you know that the graph as x approaches a slowly grows, then as soon as it hits a it starts falling
well if you set the equation = 0 and solve for x you would find the x value yeah?
exactly
12x^2-322x+1540
so when that equals 0, it's a local minimum
can you find its roots?
use desmos or wolframalpha or smth
x1 = 6.23
x2 = 20.61?
okay so both of those can either be local minimums or local maximums, right?
as the same logic to the maximum can apply to the minimum
yeah
so now graph the graph
and see which one of them makes sense
and you're done!
the answer has to be one of those
you mean graph 4x^3 - 166x^2 + 1540x
find where 6.23 and 20.61 is
and see which one shows me to be the peak of the function
i think i've done my math wrong here
cause the highest the y value ever gets is 4129
and thats not on x = 6.23
its on x = 5.894
can someone confirm this with me?
@pliant solstice ?