Calculating the gradient of a surface

  • Thread starter Thread starter kakarot1905
  • Start date Start date
  • Tags Tags
    Gradient Surface
kakarot1905
Messages
17
Reaction score
0
Hi

z(x,y,t)=a sin(ωt) sin(k/Lx*pi*x) sin(l/Ly*pi*y)

a = Amplitude
ω = Frequency
k and l are constants
Lx = Length in x direction
Ly = Length in y direction


How can I find [using an equation] the slope of the surface [ie the gradient] at any given point on the surface?

I know how to do it in the x direction and y direction independently:
dz/dx for x direction and dz/dy for y direction
But how do I combine these two things?

Thanks in Advance
 
Physics news on Phys.org
tiny-tim said:
hi kakarot1905! :smile:

the downhill https://www.physicsforums.com/library.php?do=view_item&itemid=11" (∂z/∂x,∂z/∂y) is what you need :wink:

Thanks tiny-tim

I can calculate:

(dz/dx) = (k\pia)/Lx sin(\omegat) cos (k\pix)/Lx
and
(dz/dy) = (l\pib)/Ly sin(\omegat) cos (l\piy)/Ly

But what is dz/dt?


This is why I need to calculate the slope of the surface (z):

I am trying to calculate the weight [W] of a particle on the dynamic surface (z)
Because of the slope'ness' of the surface z, the acceleration of particle (parallel to the surface) is affected
So in order to calculate the surface parallel Weight, I need to W*(Gradient of the slope)

attachment.php?attachmentid=37705&stc=1&d=1312304788.png


The above link by tiny-tim, helps me calculate the gradient in vector form, but how do convert it into a value to multiply it with W? Do I take the abs?


Please Help, Thanks
 

Attachments

  • Screen shot 2011-08-02 at 10.36.01 PM.png
    Screen shot 2011-08-02 at 10.36.01 PM.png
    1.5 KB · Views: 640
Last edited by a moderator:
hi kakarot1905! :smile:
kakarot1905 said:
This is why I need to calculate the slope of the surface (z):

I am trying to calculate the weight [W] of a particle on the dynamic surface (z)

i really don't understand what you're trying to do :confused:

i don't see the relevance of the component W||, but it would be W times the sin of tan-1 of the gradient
 
tiny-tim said:
hi kakarot1905! :smile:


i really don't understand what you're trying to do :confused:

i don't see the relevance of the component W||, but it would be W times the sin of tan-1 of the gradient


Thanks for the suggestion tiny tim.

I got my plotting software [mathematica] to automatically calculate the gradient of the z function so I don't have to worry about taking dz/dx...

This is the code i used: [mathematica]
Code:
(gradf[x_, y_, t_] = {D[z[x, y, t], x], D[z[x, y, t], y], 
   D[z[x, y, t], t]})
 
Thread 'Direction Fields and Isoclines'
I sketched the isoclines for $$ m=-1,0,1,2 $$. Since both $$ \frac{dy}{dx} $$ and $$ D_{y} \frac{dy}{dx} $$ are continuous on the square region R defined by $$ -4\leq x \leq 4, -4 \leq y \leq 4 $$ the existence and uniqueness theorem guarantees that if we pick a point in the interior that lies on an isocline there will be a unique differentiable function (solution) passing through that point. I understand that a solution exists but I unsure how to actually sketch it. For example, consider a...
Back
Top