Question

Solve

Consider the two-dimensional steady flow:

V=-(-2xi+yj)

Draw the velocity vectors and then the streamlines for this

flow. Let Vo = 1m/s and L = 2m.

• To do this, first define [xy] meshgrid.

• To draw the velocity vector, use quiver (x. y. u, v). The streamline uses streamline (x, y, u, v, startx, starty).

• Based on the direction of the velocity vector, the startx, and starty, use the beginning points.

• The x is defined [-1.0.1:1), and they is defined [0:0.1:1].

Question image 1Question image 2