Znalezienie ekstrem lokalnych

0

Proszę o pomoc. policz ekstrema lokalne funkcji f(x,y)=x^3+y^3-9xy. nie rozumiem tego zapisu w rozwiązaniu Obliczamy wartość funkcji g w punktach podejrzanych o istnienie ekstremum.

subs(g,{x,y},{X(1),Y(1)})
subs(g,{x,y},{X(2),Y(2)})
0

Kolego to nie jest forum gdzie ludzie rozwiązują zadania domowe dla studentów.

0

snew = subs(s,old,new) returns a copy of s, replacing all occurrences of old with new, and then evaluates s. Here, s is an expression of symbolic scalar variables or a symbolic function, and old specifies the symbolic scalar variables or symbolic function to be substituted.
If old and new are both vectors or cell arrays of the same size, subs replaces each element of old with the corresponding element of new.
If old is a scalar, and new is a vector or matrix, then subs(s,old,new) replaces all instances of old in s with new, performing all operations element-wise. All constant terms in s are replaced with the constant multiplied by a vector or matrix of all ones.

https://www.mathworks.com/help/symbolic/subs.html

0

A w tym przykładzie moim może ktoś opisać prościej co się dzieje u mnie?

1

Czego nie rozumiesz w:

snew = subs(s,old,new) returns a copy of s, replacing all occurrences of old with new, and then evaluates s.

i

If old and new are both vectors or cell arrays of the same size, subs replaces each element of old with the corresponding element of new.

?

0

można to inaczej prościej wytłumaczyć i nie po angielsku wszystkiego nie rozumiem wiem tylko że to się podmienia zmienne

0

np. jeśli twoje g to jest x * y * z + 5,
X(1) to 2,
Y(1) to 3.
W wyniku operacji subs dostajesz 6z + 5, bo po prostu podstawiasz wartości (lub inne symbole) pod symbole.

0

Ekstrema_lokalne.pdf Nie rozumiem tego pierwszego przykładu tutaj u mnie ile wynosi X(1) i Y(1) i co oznacza zapis w pierwszym poście dodatkowo nie wiem skąd wiemy że w P1 nie ma ekstremum lokalnego?

0

Chyba matma Ci się kłania, wróć do notatek ze ekstremum funkcji dwóch/wielu zmiennych, to jest analiza, 101.

1 użytkowników online, w tym zalogowanych: 0, gości: 1