Height to time equation: water cylinder with pinhole

AI Thread Summary
The discussion revolves around deriving a height-to-time equation for water flowing from a cylinder with a pinhole. The initial equation for weight flow rate is established, but the user seeks to express height as a function of time, leading to a need for integration and differentiation. The conversation includes attempts to solve the differential equation and incorporate initial conditions, with various iterations of the equations presented. The user grapples with integrating constants and the implications of their calculations on the coefficient of discharge, ultimately aiming to express the weight flow rate in terms of time. The dialogue emphasizes the importance of accurately determining parameters and constants to achieve a correct model.
  • #51
I didn't calculate the derivative by hand, I just made Logger Pro do a numerical derivative from the data given with respect to time. I tried to verify it by using my formula and plugging in values.
 
Engineering news on Phys.org
  • #52
In any case, what does a negative flow rate mean? Do you just take the absolute value of it because clearly the slope of the tangent of the graph in post #43 is negative.
 
  • #53
Jonathan Densil said:
I didn't calculate the derivative by hand, I just made Logger Pro do a numerical derivative from the data given with respect to time. I tried to verify it by using my formula and plugging in values.
The finite difference approximation to the dW/dt is ##\Delta W/\Delta t##. I didn't say to divide by time. I said to divide by the time interval between the point A and point B. The graph of W dot vs time made by Logger Pro looks consistent with the graph of W vs time to me.
 
  • #54
Jonathan Densil said:
In any case, what does a negative flow rate mean? Do you just take the absolute value of it because clearly the slope of the tangent of the graph in post #43 is negative.
Sure. The weight is decreasing with time, right?
 
  • #55
Yah, the weight is decreasing, but how do I divide my formula by the time interval? Can you show me please an example with my data of how to get the same answer that Logger Pro is getting?
 
  • #56
Jonathan Densil said:
Yah, the weight is decreasing, but how do I divide my formula by the time interval? Can you show me please an example with my data of how to get the same answer that Logger Pro is getting?
Give me the weights and times at two points, A and B.
 
  • #57
Point A: 9.131339746N at 19.58 seconds
Point B: 3.281800887 N at 67.6 seconds
 
  • #58
Jonathan Densil said:
Point A: 9.131339746N at 19.58 seconds
Point B: 3.281800887 N at 67.6 seconds
$$\frac{\Delta W}{\Delta t}=\frac{3.2818-9.1313}{67.6-19.58}=-0.122$$
This is over a rather large time interval, so we need to associate this value of dW/dt with the average value of time over the time interval (19.58+67.6)/2=43.6 sec. See where the point (43.6, -0.122) would fall on the Logger Pro graph
 
  • #59
Ohhhh... so in what cases would I use my formula?
 
  • #60
Jonathan Densil said:
Ohhhh... so in what cases would I use my formula?
I don't understand. What is "your formula?"
 
  • #61
The one that we've been trying to figure out:
$$\dot{W} = \rho g C_D A \left(\sqrt{2gh_0}-\frac{t g C_D A}{A_x}\right)$$
When would I have to use this?
 
  • #62
Shouldn't that also have given -1.22 if I plug in 43.6 seconds or 48.02 seconds (I don't know which one to use, the average or the ##\Delta t##)?
 
  • #63
Jonathan Densil said:
The one that we've been trying to figure out:
$$\dot{W} = \rho g C_D A \left(\sqrt{2gh_0}-\frac{t g C_D A}{A_x}\right)$$
When would I have to use this?
Now that you know the value of Cd, you can plot this equation up and see what you get. Plot a graph of this equation so that we can compare it with the Logger Pro graph for dW/dt.
 
  • #64
Jonathan Densil said:
Shouldn't that also have given -1.22 if I plug in 43.6 seconds or 48.02 seconds (I don't know which one to use, the average or the ##\Delta t##)?
You calculate the derivative from the difference in the times, but you plot the derivative at the average of the times. It is just a coincidence that the difference and the average are about the same value for this particular case.
 
Last edited:
  • #65
upload_2016-2-21_20-27-58.png


The weight flow rate against time. Sorry for the lack of labels, I did it in Mathematica and don't know how to add labels
 

Attachments

  • #66
Jonathan Densil said:
View attachment 96264

The weight flow rate against time. Sorry for the lack of labels, I did it in Mathematica and don't know how to add labels
Excellent. This is almost the exact negative of dW/dt calculated by Logger Pro from the raw data.

So you can see that, once you have determined Cd, you don't need the data any more.
 
Last edited:
  • #67
Thank you very, very much, I really appreciate your help. The equation works and very happy that I understand how I got it. I really am very thankful for your help. I struggled to make sense of it all for an entire week with my math and physics teachers at school. Thanks again,

Kind regards,
Jonathan
 
  • #68
Hello Chestmiller,

I just have a quick question about uncertainties. I took the derivative of the weight to get weight flow rate. So, if I have the uncertainty for the weight, how do I find the uncertainty of the weight flow rate.
 
  • #69
Jonathan Densil said:
Hello Chestmiller,

I just have a quick question about uncertainties. I took the derivative of the weight to get weight flow rate. So, if I have the uncertainty for the weight, how do I find the uncertainty of the weight flow rate.
I don't know how to do this. Maybe, if you submit it to the mathematics forums (specifying very precisely what is involved mathematically), you can get some help there. Mention that you have an analytic expression for the rate of weight loss vs time, and experimental data on weight as a function of time.
 
  • #70
Do you know any good, trustworthy forums as this one?
 
  • #71
My inclination would be Physics Forums, Science Education, Homework and Coursework Questions, Calculus and Beyond

You have an analytic expression for the derivative of a function based on a fit to experimental data on the function itself. You know the uncertainty of the fit to the experimental data, and you would like to determine the uncertainty in the corresponding analytic expression for the derivative.
 
Back
Top