| Author |
Comment/Response |
proxy101
|
07/31/05 01:47am
I have a problem using Mathematica with Lagrange Multipliers, basically the problem is to find the largest and smallest values of f(x+y)=x^3+y^3 which lie on the curve 3x^3+4xy+y^4=7... So currently What I have done is the following:
f[x_, y_] := x^3 + y^3
g[x_, y_] := 3*x^3 + 4*x*y + y^4 -7
gradf[x, y] = {∂\_x\ f[x, y], ∂\_y f[x, y]}
N[Solve[{gradf[x, y] = λ*gradg[x, y], g[x, y] = 0}, {x, y, λ}]]
But I keep on getting: Solve::elist: List encountered during logical... What should I do to fix it? I want to find the critical points and then from there final max and min values....
URL: , |
|