#

The input is as follows:

Select a function, f of left parenthesis x, y right parenthesis equals cosine of left bracket x minus y right bracket.

Function, f of left parenthesis x, y right parenthesis equals cosine of left bracket x minus y right bracket.

Its sign aside, in which direction does the gradient of f of left parenthesis x, y right parenthesis equals cosine of left parenthesis x minus y right parenthesis paint?

A blank box, x caret

A blank box y caret

A blank box, x caret plus y caret

This is selected. A blank box x bar minus y bar. This is selected.

Select plot type,

2 D arrow plot, this is selected.

2 D field line plot

Divergence cosine of left parenthesis x minus y right parenthesis equals x caret start fraction d cosine of left parenthesis x minus y right parenthesis over d x end fraction plus y caret start fraction d cosine of left parenthesis x minus y right parenthesis over d y end fraction plus z caret start fraction d cosine of left parenthesis x minus y right parenthesis over d z end fraction equals negative x caret sine of left parenthesis x minus y right parenthesis plus y caret sine of left parenthesis x minus y right parenthesis equals negative sine of left parenthesis x minus y right parenthesis left parenthesis x caret minus y caret right parenthesis.

The output is as follows:

In the vector field, the x axis displays the values from negative 1 to 1 and the y axis displays the values from negative 1 to 1. All the quadrants display the equal flux lines in the opposite pattern moving diagonally in increasing direction.