Solved

Reverse trajectory calculation

Posted on 2009-05-18
12
446 Views
Last Modified: 2013-12-26
Using the following rules:

x = vx * t
y = vy * t + c * t
sqr( vx * vx + vy * vy ) = 1

When the numbers c, x and y are known,
how do I calculate t, vx and vy for the lowest positive value of t?
how do I calculate vx and vy for a given value of t?
0
Comment
Question by:JasonMewes
  • 6
  • 3
  • 2
  • +1
12 Comments
 
LVL 1

Accepted Solution

by:
leiz earned 500 total points
ID: 24415922
Since c, x, and y are known, for a given t:

from (1), we can have: vx = x/t
from (3), we can have vy = sqrt(1- vx*vx) = sqrt(1- (x/ t) * (x/t))

considering (2), after a series of transformation:
t=sqrt(x^2 + (y-ct)^2) or t = -sqrt(x^2 + (y-ct)^2)

It is can be inferred that the lowest positive value of t is location, (x,y), dependent. With x = 0, y = ct, t can be 0.
0
 
LVL 27

Expert Comment

by:aburr
ID: 24416758
Alternatively (and a bit simpler) you have
vy = y/t - c
0
 
LVL 1

Expert Comment

by:leiz
ID: 24416832
the bottom line for this problem is:

although it is routine to calculate the trajectory based on known initial condition, the answer to the reverse problem may not always be unique or finite.
0
 
LVL 27

Expert Comment

by:aburr
ID: 24416843
I beleive there is some difficulty with the equationb
t=sqrt(x^2 + (y-ct)^2) or t = -sqrt(x^2 + (y-ct)^2)
The units do not check out.
0
 
LVL 84

Expert Comment

by:ozo
ID: 24416874
x = vx * t
y = vy * t + c * t
sqr( vx * vx + vy * vy ) = 1
y = (vy+c) * t
vx = x/t
vy = y/(t+c)

0
 
LVL 27

Expert Comment

by:aburr
ID: 24416897
oxo
are you sure your vy is correct? It looks to me that it has units trouble.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 84

Expert Comment

by:ozo
ID: 24416920
No more units trouble than the original rules
What are the units of y, vy, c and t?
0
 
LVL 27

Expert Comment

by:aburr
ID: 24416930
If you know x, y, and c there is only one value of t which will fit.
(actually possibly two because there is a square root involved)
0
 
LVL 27

Expert Comment

by:aburr
ID: 24416967
L      L/T      L/T      and    T


your last equation returns to y = vy *t + vy*c
0
 
LVL 84

Expert Comment

by:ozo
ID: 24417090
sorry, you're right
vy = y/t - c
0
 
LVL 27

Expert Comment

by:aburr
ID: 24417390
t = -2c*y +- (sqr (4 c^2*t^2 + 4 (V^2-c^2)*(x^2+y^2))/(2(V^2-c^2)))


Where V is the 1 in your velocity equation.


0
 

Author Comment

by:JasonMewes
ID: 24418837
leiz, your solution works quite well for the problem I describes - so I will award you your points.
however, i made I mistake in the formulation, so I'm going to add another question with the correct formulas.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Volume Calculation 14 52
hasOne  challenge 59 124
Logarithms 2 59
sorting efficency of sorting algorithm 30 99
As game developers, we quickly learn that Artificial Intelligence (AI) doesn’t need to be so tough.  To reference Space Ghost: “Moltar, I have a giant brain that is able to reduce any complex machine into a simple yes or no answer. (http://www.youtu…
Iteration: Iteration is repetition of a process. A student who goes to school repeats the process of going to school everyday until graduation. We go to grocery store at least once or twice a month to buy products. We repeat this process every mont…
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now