|
|
|
|
|
August 17th, 2007, 05:23 PM
|
|
Second Lieutenant
|
|
Join Date: Mar 2005
Location: Seattle, WA
Posts: 417
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: OT: Looking for a good physics site
Sorry, I cut/pasted from a post I did in another web site; the attitude probably comes from some hostility experienced there.
|
August 17th, 2007, 05:28 PM
|
|
Shrapnel Fanatic
|
|
Join Date: Mar 2003
Location: CHEESE!
Posts: 10,009
Thanks: 0
Thanked 7 Times in 1 Post
|
|
Re: OT: Looking for a good physics site
No problem.
Hey, if that thread has the solution, could you point me to it?
__________________
If I only could remember half the things I'd forgot, that would be a lot of stuff, I think - I don't know; I forgot!
A* E* Se! Gd! $-- C-^- Ai** M-- S? Ss---- RA Pw? Fq Bb++@ Tcp? L++++
Some of my webcomics. I've got 400+ webcomics at Last count, some dead.
Sig updated to remove non-working links.
|
August 17th, 2007, 06:09 PM
|
|
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: OT: Looking for a good physics site
By 'distance' I meant we didn't take into account position. That wasn't worded well.
Yes we did; the very definition of intercepting a target object is when the positions are equal. We have two position equations, with two unknowns (time and position). Since we know the positions must be equal, we can simply substitute one of the equations for the S value (position) in the other equation, thus eliminating it.
So I should make two formulas, one with a '+' there and the other with a '-' there and if one returns a zero, I use the other?
No... both will return zeros of the quadratic function (aka x-intercepts). I wasn't talking about the integer value 0. A negative zero/intercept is thrown out, as per previous post.
|
August 17th, 2007, 06:26 PM
|
|
Shrapnel Fanatic
|
|
Join Date: Mar 2003
Location: CHEESE!
Posts: 10,009
Thanks: 0
Thanked 7 Times in 1 Post
|
|
Re: OT: Looking for a good physics site
...I'm missing something here. You're saying the positions must be equal, but at the same time they start unequal.
No... both will return zeros of the quadratic function (aka x-intercepts). I wasn't talking about the integer value 0. A negative zero/intercept is thrown out, as per previous post.
...I have no idea what you just said. I can't even decypher the grammer. For one thing, the only zero I've ever known is an integer, except for the fact that zero isn't actually all that numerical.
__________________
If I only could remember half the things I'd forgot, that would be a lot of stuff, I think - I don't know; I forgot!
A* E* Se! Gd! $-- C-^- Ai** M-- S? Ss---- RA Pw? Fq Bb++@ Tcp? L++++
Some of my webcomics. I've got 400+ webcomics at Last count, some dead.
Sig updated to remove non-working links.
|
August 17th, 2007, 06:47 PM
|
|
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: OT: Looking for a good physics site
...I'm missing something here. You're saying the positions must be equal, but at the same time they start unequal.
Huh? Unknown and unequal are not the same thing.
...I have no idea what you just said.
http://en.wikipedia.org/wiki/Zero_of_a_function
|
August 17th, 2007, 06:58 PM
|
|
Shrapnel Fanatic
|
|
Join Date: Mar 2003
Location: CHEESE!
Posts: 10,009
Thanks: 0
Thanked 7 Times in 1 Post
|
|
Re: OT: Looking for a good physics site
I'm missing something. Probably something obvious. Are you saying the function backtracks from where the positions are equal to where they are at start?
Ok, so occasionally the formula will return zero.
Perhaps it would help if you looked at my code? It could help us figure out the difference between what I think I should be doing versus what I should actually be doing.
__________________
If I only could remember half the things I'd forgot, that would be a lot of stuff, I think - I don't know; I forgot!
A* E* Se! Gd! $-- C-^- Ai** M-- S? Ss---- RA Pw? Fq Bb++@ Tcp? L++++
Some of my webcomics. I've got 400+ webcomics at Last count, some dead.
Sig updated to remove non-working links.
|
August 17th, 2007, 07:18 PM
|
|
Shrapnel Fanatic
|
|
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
|
|
Re: OT: Looking for a good physics site
The two final positions are variables, and unknown. But they are equal to each other by definition, since equal positions is the definition of interception.
Knowing that they are both equal reduces the number of unknowns by one (Instead of positionA and positionB, you have two copies of positionIntercept). This allows you to solve for Time. If the interception is impossible, Time will end up being an imaginary number.
__________________
Things you want:
|
August 17th, 2007, 07:24 PM
|
|
Shrapnel Fanatic
|
|
Join Date: Mar 2003
Location: CHEESE!
Posts: 10,009
Thanks: 0
Thanked 7 Times in 1 Post
|
|
Re: OT: Looking for a good physics site
Ok, thanks, that makes sense.
One of the problems is that it tends to flicker between thinking it is unsolveable and having an intercept angle. (I have a bit of code that gives it an angle of '0' if it's unsolveable). That's one reason I posted the code.
You guys are great, you know that, right?
__________________
If I only could remember half the things I'd forgot, that would be a lot of stuff, I think - I don't know; I forgot!
A* E* Se! Gd! $-- C-^- Ai** M-- S? Ss---- RA Pw? Fq Bb++@ Tcp? L++++
Some of my webcomics. I've got 400+ webcomics at Last count, some dead.
Sig updated to remove non-working links.
|
August 17th, 2007, 07:30 PM
|
|
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: OT: Looking for a good physics site
Ok, so occasionally the formula will return zero.
If one of the zeros/x-intercepts of the equation occurs at 0,0, then sure... The formula always returns two zeros/x-intercepts; that is the entire purpose of it.
|
August 17th, 2007, 07:32 PM
|
|
Shrapnel Fanatic
|
|
Join Date: Mar 2003
Location: CHEESE!
Posts: 10,009
Thanks: 0
Thanked 7 Times in 1 Post
|
|
Re: OT: Looking for a good physics site
Oh, you mean it returns an intercept that is zero relative to the target.
Ok, so it should work. Now I just have to figure out why my implementation doesn't.
__________________
If I only could remember half the things I'd forgot, that would be a lot of stuff, I think - I don't know; I forgot!
A* E* Se! Gd! $-- C-^- Ai** M-- S? Ss---- RA Pw? Fq Bb++@ Tcp? L++++
Some of my webcomics. I've got 400+ webcomics at Last count, some dead.
Sig updated to remove non-working links.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|