First Derivative of Periodic Tube Profile | Get Help Now

  • Thread starter Thread starter nazmulislam
  • Start date Start date
  • Tags Tags
    Derivative
nazmulislam
Messages
21
Reaction score
0
Hi,

I have some points say, 100 points which come from a periodic tube profile, i.e., (z,r), where z and r are the axial and radial coordinates, respectively.

Now, I need to calculate the first derivative at each point.

Could you please help me in this regard?

Cheers
 
Physics news on Phys.org
nazmulislam said:
Hi,

I have some points say, 100 points which come from a periodic tube profile, i.e., (z,r), where z and r are the axial and radial coordinates, respectively.

Now, I need to calculate the first derivative at each point.

Could you please help me in this regard?

Cheers

Can you post a sketch of the setup? And you want to calculate the derivatave of what with respect to what? Can you show some sample data?

Is this for schoolwork, or is a data set from your work?
 
Hi, I have given the profile below

upload_2015-3-25_12-58-25.png


I want to calculate dh/dz. Some data are below:

z h
-1 1
-0.8 0.823664
-0.6 0.714683
-0.4 0.714683
-0.2 0.823664
0 1
0.2 1.176336
0.4 1.285317
0.6 1.285317
0.8 1.176336
1 1

The data set from my work.

Thanks
 

Attachments

  • Profile.pdf
    Profile.pdf
    86.6 KB · Views: 243
  • upload_2015-3-25_12-58-9.png
    upload_2015-3-25_12-58-9.png
    2.1 KB · Views: 484
nazmulislam said:
I want to calculate dh/dz

It looks to me like your data do not match your graph...

But in any case, are you aware of the definition of the derivative? Or implementations in discrete datasets?

One way to do it is:

h'(z) =\frac{h(z+1)-h(z-1)}{2z}

Okay, LaTeX isn't working for me tonight... In clear text:
Note from Mark44: It's fixed now @Berkman -- there was an extra brace that I removed.

h'(z) = ( h(z+1) - h(z-1) ) / 2z

Where 2z is the distance between the 2 bracketing datapoints (in the units of z). Does that make sense?
 
Last edited by a moderator:
Yes, I understand the facts. Many thanks.

Cheers
 
Numeric derivatives are notoriously bad, so take your results with a grain of salt. A better approach would be to attempt to fit your data to a sinusoidal function. Then get your derivatives from that.
 
  • Like
Likes berkeman

Similar threads

Back
Top