I've been reading things for several days on multivariable calculus, but I just can't seem to be able to do this myself . Looking for any insight or complete solution I can get.
To put this in perspective about why everything is labelled as constants rather than using actual numbers, I'm doing this math for use in excel, so many of the constants are user inputs.
Please excuse any mathematical convention faux pas' .
f(x,y,z) = (a + bcx + cdy) * (1 + f(z - z[sup:3ggwggz6]2[/sup:3ggwggz6]))
Where:
x+y+z = r
0 < r <= 1
a, b, c, d, f = positive "user input" constants for the program
I want to find the maximum possible result of the function, and the corresponding values of x,y,z.
The maximum will never occur where x+y+z < r so the extrema will always be along the boundary condition (which is a cube shape).
I attempted to use the lagrange multiplier technique, but failed... I'm reasonably sure this is the technique that should solve my problem, I just can't seem to apply it properly.
---------------------------------------------
Note: For calculations sake, I'll input some actual values for the constants.
f(x,y,z) = (50000 + 50(800x) + 8(800y)) * (1+1.5(z - z[sup:3ggwggz6]2[/sup:3ggwggz6]))
f(x,y,z) = (50000 + 40000x + 6400y)) * (1+1.5(z - z[sup:3ggwggz6]2[/sup:3ggwggz6]))
Where:
x+y+z = 0.4
Any assistance would be greatly appreciated.
Cheers.
To put this in perspective about why everything is labelled as constants rather than using actual numbers, I'm doing this math for use in excel, so many of the constants are user inputs.
Please excuse any mathematical convention faux pas' .
f(x,y,z) = (a + bcx + cdy) * (1 + f(z - z[sup:3ggwggz6]2[/sup:3ggwggz6]))
Where:
x+y+z = r
0 < r <= 1
a, b, c, d, f = positive "user input" constants for the program
I want to find the maximum possible result of the function, and the corresponding values of x,y,z.
The maximum will never occur where x+y+z < r so the extrema will always be along the boundary condition (which is a cube shape).
I attempted to use the lagrange multiplier technique, but failed... I'm reasonably sure this is the technique that should solve my problem, I just can't seem to apply it properly.
---------------------------------------------
Note: For calculations sake, I'll input some actual values for the constants.
f(x,y,z) = (50000 + 50(800x) + 8(800y)) * (1+1.5(z - z[sup:3ggwggz6]2[/sup:3ggwggz6]))
f(x,y,z) = (50000 + 40000x + 6400y)) * (1+1.5(z - z[sup:3ggwggz6]2[/sup:3ggwggz6]))
Where:
x+y+z = 0.4
Any assistance would be greatly appreciated.
Cheers.