MATLAB: Problems with chosing the best optimization function

optimization

Hello there,
I'm trying MATLAB to help me with math optimization problems. I know MATLAB has a lot of optimization fuctions to help me. However, my first problem is to know wich one could help me better and easily.
Basically, I have this equation:
y=(k*x1*x2^0.75)/(2.8579*log((x1*1000)/(pi*dm));*
where k, pi and dm are predefined constants; and x1 and x2 are my variables.
I need to find the maximum values for x1 and x2, so that y is as close as possible to 100.
Could someone help me with this problem?
Thanks in advance.
-Vinicius

Best Answer

There are exact symbolic solutions for that in either x1 or x2.
You can restrict x1 and x2 to be non-negative, unless k, pi or dm could be negative; the restriction to non-negative is to prevent complex numbers from arising.
I tossed in some random values for k and dm and assumed pi was Pi, and it appears to me that x1 increases with x2, so "the maximum values" for x1 and x2 would appear to be unbounded.