Go Back   Forums > Community Chatterbox > Blah, blah, blah...
Memberlist Forum Rules Today's Posts
Search Forums:
Click here to use Advanced Search

Reply
 
Thread Tools Display Modes
Old 10-08-2008, 03:52 PM   #31
Mighty Midget
Pox Vobiscum
 
Mighty Midget's Avatar


 
Join Date: Mar 2006
Location: Krakeroy, Norway
Posts: 3,014
Default

If

angle ABC = a (alpha)

K = sin BAC / sin CAD and
L = 180 - (BAC + CAD)

then

K = sin a / sin (L - a)

the solution will be at

sin a / sin (L - a) - K = 0

(tested and verified* with a graphical calculator)

* verified as in I didn't get any wrong answers with several different, arbitrary values for BAC and CAD.

Now is the problem, I am unable to isolate alpha in sin (L - a)
If you can do that, you have the formula, I believe.
__________________
Je Suis Charlie

Last edited by Mighty Midget; 10-08-2008 at 03:56 PM.
Mighty Midget is offline                         Send a private message to Mighty Midget
Reply With Quote
Old 10-08-2008, 03:56 PM   #32
GTX2GvO
The (Web)Space Pirate
 
GTX2GvO's Avatar

 
Join Date: Feb 2007
Location: Schijndel, Netherlands
Posts: 864
Default

Well ACTUALLY...

As long as the Angles @ A (or just one of) are known and E is a known value.. (Which is in the IRL issue) I just need the KNOWN value of either another angle or another side (c {AC})

Cause with the Law of sines and the 180 degrees rule I can then calculate ALL the other sides/angles..
(If I'm in the mood for it AND have my equipment @ hand)
__________________
Greetings from GTX2GvO.

Member of The Victorious People's Shoutbox Liberation Army.
GTX2GvO is offline                         Send a private message to GTX2GvO
Reply With Quote
Old 10-08-2008, 04:06 PM   #33
Mighty Midget
Pox Vobiscum
 
Mighty Midget's Avatar


 
Join Date: Mar 2006
Location: Krakeroy, Norway
Posts: 3,014
Default

The segments at E are, unfortunately, unknown. The only known values are the two angles at A (angle BAC and CAD).

EDIT: Summary

When the function f(a) = sin a / sin (L - a) - K = 0
that's the correct a (angle ABC)
__________________
Je Suis Charlie

Last edited by Mighty Midget; 10-08-2008 at 04:27 PM.
Mighty Midget is offline                         Send a private message to Mighty Midget
Reply With Quote
Old 10-08-2008, 04:53 PM   #34
Mighty Midget
Pox Vobiscum
 
Mighty Midget's Avatar


 
Join Date: Mar 2006
Location: Krakeroy, Norway
Posts: 3,014
Default

Sorry for the double, just want to keep things tidy in a messy topic



x / sin A = y / sin a

x = y sin A / sin a

----

x / sin B = y / sin b

x = y sin B / sin b

----

since x = x

sin A / sin a = sin B / sin b

sin A / sin B = sin a / sin b

sin A / sin B = K

b = 180 - (A + B) - a

180 - (A + B) = L

K = sin a / sin (L - a)

sin a / sin (L - a) - K = 0
__________________
Je Suis Charlie
Mighty Midget is offline                         Send a private message to Mighty Midget
Reply With Quote
Old 28-08-2008, 06:52 AM   #35
DoomYoshi
Abandonia nerd
 
DoomYoshi's Avatar

 
Join Date: Mar 2007
Location: Saint Catharines, Canada
Posts: 56
Default

Quote:
Originally Posted by Mighty Midget View Post
The "IRL" problem was: At time t = 0 I had a ship at bearing x. 3 minutes later the bearing had changed to y, and 3 minutes later the bearing was z. From these data I wondered if I could calculate the ship's course.
Did the ship maintain the same speed? Does the game provide velocity? How do you know the value of the angles?
DoomYoshi is offline                         Send a private message to DoomYoshi
Reply With Quote
Old 28-08-2008, 07:52 AM   #36
AlumiuN
Vodka-Induced Entertainment
 
AlumiuN's Avatar

 
Join Date: Jan 2008
Location: Christchurch, New Zealand
Posts: 1,044
Default

Gaaah? Why bring up trig? *calms down a little* Sorry, I had a Maths common test this morning. I've done enough differentiation for one day.
AlumiuN is offline                         Send a private message to AlumiuN
Reply With Quote
Old 06-09-2008, 11:26 AM   #37
Mighty Midget
Pox Vobiscum
 
Mighty Midget's Avatar


 
Join Date: Mar 2006
Location: Krakeroy, Norway
Posts: 3,014
Default

Sorry for the late reply.

Doom: The angles A and B on the last diagram are calculated from 3 readings of the bearing to the ship. A and B are the difference between the 3 readings.

Also, the speed is assumed to be constant, as is the heading.
__________________
Je Suis Charlie
Mighty Midget is offline                         Send a private message to Mighty Midget
Reply With Quote
Old 06-09-2008, 11:28 AM   #38
Tomekk
Master of Orion
 
Tomekk's Avatar


 
Join Date: Jun 2008
Location: The Caves, Antique and Barbuda
Posts: 870
Send a message via Yahoo to Tomekk
Default

Ohh God, schools only 1 week, and i have to repeat all this shit!
__________________
"I want to be able to tell some poor girl i am going to feed off of, that she will see me in her dreams as a dinosaur" - DarthHelmet86

"that's what all jrpgs are about

0: intro
1: talk talk cry talk talk graphics talk talk,
2: boring jrpg generic turn based combat
3: walk map
4: goto 1 12390482309 times
5: outro"
- _r.u.s.s.
Tomekk is offline                         Send a private message to Tomekk
Reply With Quote
Old 13-09-2008, 12:56 PM   #39
Japo
Autonomous human
 
Japo's Avatar


 
Join Date: Mar 2006
Location: ,
Posts: 4,613
Default

I didn't read through the whole topic... You just have to state the simple relationships (equations 1 and 2) between the three angles formed by e with b, c and d (gamma, delta and epsilon in my notation). Then you use the BC=CD equation and presto, I think using the law of sines is the simplest option.

__________________
Life starts every day anew. Prospects not so good...

Last edited by Japo; 27-09-2008 at 10:55 PM.
Japo is offline                         Send a private message to Japo
Reply With Quote
Old 27-09-2008, 01:46 PM   #40
Mighty Midget
Pox Vobiscum
 
Mighty Midget's Avatar


 
Join Date: Mar 2006
Location: Krakeroy, Norway
Posts: 3,014
Default

Thanks a bunch, Japofran! I will look into this, but it looks promising.

Ok, here's another one:

From a defined point on Earth, you know your distance from that point as well as your bearing as seen from that point (that is, if you are due east of that point, you are at bearing 90 degrees, if you are due north, your bearing is 360, and so on). If your coordinates are 136 70, you are at bearing 136 (South East) at a distance of 70 (be it mm, metres, miles or whatever) from the point.

Your coordinates are [b d] (b being bearing, d being distance)

You also know your own heading h, that is which direction you're facing i.e. 25 degrees (North North East).

You are then to move from coordinates [b d] to a new location given by the coordinates [B D]

What is your new heading H, how many degrees will you have to turn and in which direction (smallest angle), and what is the distance from [b d] to [B D]?
__________________
Je Suis Charlie
Mighty Midget is offline                         Send a private message to Mighty Midget
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump
 


The current time is 05:09 PM (GMT)

 
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.