Effacer les filtres
Effacer les filtres

Help with Grobner Basis in Mupad

2 vues (au cours des 30 derniers jours)
Nachum Lerner
Nachum Lerner le 19 Jan 2014
Modifié(e) : Nachum Lerner le 19 Jan 2014
Hi In a lagrange multipliers problem i'm trying to eliminate lamda out of the equation. I was trying to do it by grobner basis in Mupad but it isn't really working. Can some one give me a bit help how should it be done?
J:=x^2+y^2
e1:=6*x+6*y +2*x*y+1+k
e2:=(x-1)^2+(y-1)^2-k
C:=e1*e2;
L:=J+lamda*C
Lx:=diff(L,x)
Ly:=diff(L,y)
Llamda:=C
This is what I'm getting [lamda^2, 4*k*lamda - y - 5*lamda, k^2 - k + 108*lamda - 24*y - 2, lamda*y, y - 27*lamda + 4*k*y, y^2, x - y]
I would like my basis to be a variable of J (J=x^2+y^2)and k. How can it be done?
Thanks
Nachum

Réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by