Answer:

Explanation:
Let two- dimensional vector field

We have to find the formula for a two-dimensional vector field which has all vectors parallel to the x-axis and all vectors on a horizontal line having the same magnitude.
When all vector parallel to x- axis then
v(x,y)=0
Then, the vector field can be written as

When all vectors on a horizontal line having the same magnitude then
u(x,y)=u(y)
Substitute the values
Then, we get
