Ok, thanks for the help. For my solver my goal is minimum error which would be zero. So, this will probably work better than gradient descent.
Thanks for the help
Keep up the good work.
Thank you guys for your help. I got a function that works now.
I wrote a function where v1 = (x,y) coordinate on the parabola, and v2 = another (x,y) coordinate a step apart. It returns the 2 results for the x vertex. It appears the x2 value is the correct one where x1 is wrong.
x1 =...
Ok, so here are the 2 solutions.
1st (-6, 54)
A = 54 / (-6-X0)2
X0 =
2nd (-5, 36)
A = 36 / (-5-X0)2
X0 =
Ok, I think I get what you are saying.
54 / (-6-X0)2 = 36 / (-5-X0)2
X0 =-3+√6 and X0 =-3-√6
Why are there 2 values for X0 when Y0 = 0 ?
Sorry I meant A and xo are unknown. Plugging in my known points does not seam to get me any closer.
For example: This is all the data I have to go off.
2 pointes (x,y) = (-6 , 54) and (-5 , 36)
vy = 0
working the problem, I still seam to have the same unknowns. am i missing something?
y = A (x + xo) ^2 + yo
yo=0
√(y/A) = x+xo
Can you explain how this helps find vertex x position?
I don't know x or the x offset.
I was hoping if I knew a slope of a point on the parabola and y vertex=0 there was a formula for that.
Summary:: I have a upwards opening parabola where I know the Y vertex point = 0. I also know 2 arbitrary points separated by a step size on the parabola. How can I solve for x at the vertex point?
X=horizontal plane
Y=vertical plane
I have a upwards opening parabola where I know the Y vertex...
Here is the full data set. The order is Red, Green, Pink, Yellow, Blue, Purple. If I can get this function to work then I hopefully can get each data set to morph into the next over time.
Good suggestion. You just gave me another thought. Would there be some way to alter B based on X?
The additional requirements are that this data set will be compared against multiple with the same function. My worst fit is this data set. (Again faster frequency on the left. Red is my function)
My function needs to speed up towards the left. How do I do this?
Green is the graph.
Red is my function that needs to match the graph.
A = Amplitude = -0.13
H = Phase Shift = 0.1625
V = Vertical Shift = 0.05
P = period = 0.4
B = 2π / P
Y = A (Cos(B...
Yeah, both are supposed to be dimensionless. I was getting all kinds of weird results last night. (Maybe too tired) I tried again with SI units and calculations work now...
Angular Velocity = rad/s
Velocity = meters/s
radius = meters
Thanks for the reply.
I am trying to add the magnus effect to a golf simulator program but am getting stuck on the coefficient of lift. What are the units I should be using in these calculations? The rest of my program I use SI units. But I seam to get weird results when using them with these equations.
Spin factor...