Plotting Gradients of Scalar Fields on the Plane

  • Thread starter Thread starter jlmac2001
  • Start date Start date
AI Thread Summary
The discussion focuses on calculating the gradient of the scalar field phi(r) = xy, which is confirmed to be yi + xj. To plot the gradient at specific points, users are advised to substitute the coordinates into the gradient equation to obtain the corresponding vectors. Each vector should be sketched starting from the designated point, treating it as the origin. The final output will consist of eight vectors from the four specified points.
jlmac2001
Messages
75
Reaction score
0
Here's the question:

Suppose we have a scalar field phi(r)=xy defined on the plane (x,y). Find th vector field gradient phi, and plot the result in a single graph atthe four points (1,1), (-1,1) (1,-1), (-1,-1) and at the four points (1,0),(0,1),(-1,0) and (0,-1).

Ans.

For the gradient of phi(r)=xy, I got yi + xj. Is this right?
 
Physics news on Phys.org
one more questio

how will I plot it. Do i have to solve the eequation at each of those points and plot the answer that I get?
 
Originally posted by jlmac2001
For the gradient of phi(r)=xy, I got yi + xj. Is this right? [/B]

Yes.
 


Originally posted by jlmac2001
how will I plot it. Do i have to solve the eequation at each of those points and plot the answer that I get?

No, it's not that involved. For each of the 4 points, you plug in the values of x and y (edit: plug them into the gradient). From those, you will get 4 vectors, which you need to sketch on the graph.
 
is this right ?

Okay. So at (1,1) it would be i + j
at(-1, 1)= -i
at (1,-1) = i-j
at (-1,-1) = -i-j

How would I plot it?
 


Originally posted by jlmac2001
Okay. So at (1,1) it would be i + j

Right.

at(-1, 1)= -i
at (1,-1) = i-j

These are wrong. Remember that for your vector v, grad(v)=yi+xj.

at (-1,-1) = -i-j

This one is OK.

How would I plot it?

Go to the point in question and let that be the origin of a vector whose components are what you calculated them to be. For instance, in the first case go to the point (1,1) and draw the vector i+j.

Also, don't forget to do the same for the other 4 points listed. You will have 8 vectors in all.
 
I multiplied the values first without the error limit. Got 19.38. rounded it off to 2 significant figures since the given data has 2 significant figures. So = 19. For error I used the above formula. It comes out about 1.48. Now my question is. Should I write the answer as 19±1.5 (rounding 1.48 to 2 significant figures) OR should I write it as 19±1. So in short, should the error have same number of significant figures as the mean value or should it have the same number of decimal places as...
Thread 'Calculation of Tensile Forces in Piston-Type Water-Lifting Devices at Elevated Locations'
Figure 1 Overall Structure Diagram Figure 2: Top view of the piston when it is cylindrical A circular opening is created at a height of 5 meters above the water surface. Inside this opening is a sleeve-type piston with a cross-sectional area of 1 square meter. The piston is pulled to the right at a constant speed. The pulling force is(Figure 2): F = ρshg = 1000 × 1 × 5 × 10 = 50,000 N. Figure 3: Modifying the structure to incorporate a fixed internal piston When I modify the piston...
Thread 'A cylinder connected to a hanging mass'
Let's declare that for the cylinder, mass = M = 10 kg Radius = R = 4 m For the wall and the floor, Friction coeff = ##\mu## = 0.5 For the hanging mass, mass = m = 11 kg First, we divide the force according to their respective plane (x and y thing, correct me if I'm wrong) and according to which, cylinder or the hanging mass, they're working on. Force on the hanging mass $$mg - T = ma$$ Force(Cylinder) on y $$N_f + f_w - Mg = 0$$ Force(Cylinder) on x $$T + f_f - N_w = Ma$$ There's also...
Back
Top