Ignoring the red line, say the blue line is u. But the points on u are unevenly spaced - closer around 0.01 as there is a sudden jump. If I took a simple mean in say MatLab mean(U(Y==0)), this would not account for the fact that the points are unequally spaced. I'm wondering how I would account...
I do have the values of U at each point in the mesh, I just thought because the mesh is unevenly spaced, taking a simple mean of these values would not yield the correct result.
If I have three sets of numbers
A is numbers between 0 and 0.09
B is numbers between 0.091 and 0.011
C is numbers between 0.011 and 0.1
where the number of elements in A are say, 37, B are 16 and C are 178. So the three arrays have different numbers of points and different distances, plotting...
I mean if I assign a y-value to each of those points, how would I calculate the mean of all the points, as if I just used the simple formula for mean of: (sum of the y-values)/(number of points) it wouldn't take into account that the points are unequally spaced.
Thank you! That's exactly what I wanted!
If each of those points have a different value, any chance you know how to calculate the weighted mean of the whole line? Can't figure it out with the spacing between the points.
I want to create an array of numbers between 0 and 0.1 where the points are clustered around an arbitrary point x1 (0 < x1 < 0.1). I want the points to get exponentially closer together near x1 from either side and and get further apart towards the outer limits. I am using MatLab and was trying...
Hi just to let you know you were right about it being an empirical relationship based on observation. According to Kennard it was found through a series of experiments conducted in 1875 by Kundt and Warburg, although it does not go into detail. Some papers cite Navier 1823, although I have not...
Wondering if someone could link me to a derivation of this formula? It's on the Wikipedia page for the no-slip condition.
u - u_wall = β ∂u/∂n
β = slip length
n = coordinate normal to the wall
Thanks very much for the replies :) Very helpful.
And yes I want them to work when both the wet sensor and the dry sensor give a signal simultaneously. :)
Sorry I don't think I explained this very well.
What I want is to have one circuit which combines these two circuits: (one wet and one dry), so that there is a wet sensor and a dry sensor in the one circuit, and the circuit will work when the wet sensor is wet and the dry sensor is dry...
Hi, wondering how I could combine a simple wet sensor circuit and a dry sensor circuit into one?
The type of wet sensor I'm looking at is like this:
and the dry sensor is the same except the sensor and variable resistor switch places.
How could I combine the two into one, so that the...
Thanks I'd never heard of a float switch! I think that might work. I have an adapted a wet sensor circuit (just replace the switch with a float switch) Do you think it would http://i539.photobucket.com/albums/ff356/AnneFTW/WetSensorFloatSwitch.png" ?
(this is a model I'm making btw - the pump...