Calculating the gradient of a surface

  • Context: Undergrad 
  • Thread starter Thread starter kakarot1905
  • Start date Start date
  • Tags Tags
    Gradient Surface
Click For Summary

Discussion Overview

The discussion revolves around calculating the gradient of a dynamic surface defined by the function z(x,y,t) = a sin(ωt) sin(k/Lx π x) sin(l/Ly π y). Participants explore how to find the slope of the surface at any given point, particularly focusing on combining the partial derivatives with respect to x and y, and the implications for calculating the weight of a particle on this surface.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant seeks to combine the independent derivatives dz/dx and dz/dy to find the overall gradient of the surface.
  • Another participant suggests using the vector form of the gradient (∂z/∂x, ∂z/∂y) as a solution.
  • A participant calculates the partial derivatives dz/dx and dz/dy but questions how to find dz/dt.
  • There is a discussion on the relevance of the slope in calculating the weight of a particle on the surface, with one participant suggesting that the weight should be multiplied by the sine of the arctangent of the gradient.
  • Another participant mentions using Mathematica to automate the gradient calculation, indicating a preference for computational methods over manual differentiation.

Areas of Agreement / Disagreement

Participants express differing views on how to interpret the gradient in relation to the weight of a particle on the surface. There is no consensus on the best approach to combine the derivatives or the relevance of certain components in the calculations.

Contextual Notes

Participants do not fully resolve the relationship between the gradient and the weight of the particle, nor do they clarify the assumptions behind their calculations. The discussion includes various interpretations of how to apply the gradient in practical scenarios.

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: 669
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]})
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
11
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 13 ·
Replies
13
Views
2K