Here's the question you clicked on:
kirbykirby
Is there a way to optimize (find global max and min) a function given a boundary (such as by a triangle x=0, y=0, y=-x+3) on Wolfram Alpha?
I just need a way to verify if my answer is correct... They have a way to determine it if the boundary is just one "function" (equation), like a circle. But I don't know how to define it if I have some triangle defined by 3 separate functions.
Check where the first derivative is 0 or undefined to find the critical points and plug those and the end points into the function to find the max.
http://www.wolframalpha.com/input/?i=plot%3A+x%3D0%2C+y%3D0%2C+y%3D-x%2B3
^ Do you know how to combine that with asking Wolfram to optimize a function given that boundary?
For example, Wolfram provides this example: http://www.wolframalpha.com/input/?i=maximize+e%5Ex+sin+y+on+x%5E2%2By%5E2%3D1&lk=3
I tried putting "on x=0,y=0,y=-x+3" but it doesn't give a max or min... which seems fishy
the ones i tried don't look right either, sorry.
the ones i tried don't look right either, sorry.
http://www.wolframalpha.com/input/?i=optimization&lk=4&num=1
Ohh wait I figured it out :) I had to say "on x>=0,y>=0,y<=-x+3"
which makes sense loll. thanks for everyone's help though