Distance between planet and vessel - Trig problem

In summary, to find the length of s given lengths r and d, as well as angle t, one can use the Law of Cosines or the Law of Sines. The Law of Cosines requires two sides and the included angle, while the Law of Sines can be used with one side and two angles or two sides and one angle. After finding the angle between r and s, one can use the Law of Sines or the Law of Cosines to find the length of s. Alternatively, one can use the law of sines to find the angle opposite side d, then use the angle sum of triangles to find the angle opposite s, and finally use the Law of Sines again to find s. This method
  • #1
computerex
68
0
Hello. Up until this point I have been solving this numerically, by propagating the state vectors and checking for a collision, however that is inefficient, so I would like an analytic solution.

Given lengths r, and d, as well as angle t, is there a way to find length s?

pg.png
 
Mathematics news on Phys.org
  • #3
Can you elaborate? I was looking at the law of cosines prior to posting this thread, but I couldn't find a solution. I thought you need at least two angles? I only have one.
 
  • #4
The sine rule requires 1 side and 2 angles, the cosine rule requires 2 sides an 1 angle.

[tex]c^2=a^2+b^2-2ab.cosC[/tex]

a, b, c are the side lengths of the triangle and C is an angle. The angle C is opposite the side c.

Now all you need to do is substitute C=t, c=r, and it's your choice whether a=d and b=s or the other way round. It doesn't matter. Now just manipulate the formula to have s=f(r,d,t).
 
  • #5
The Law of Cosines requires two sides and the included angle, if I'm recalling this correctly. The Law of Sines can be used for one side and two angles or two sides and one angle.

You can use the Law of Sines to get the angle between r and s, after which you can get the third angle. Since the angle between r and s appears in your drawing to be oblique, you'll need to take that into account when you solve for it, using the identity sin(pi/2 + x) = sin(pi/2 - x).

After you have all three angles you can use the Law of Cosines or the Law of Sines to find the unknown side.
 
  • #6
Mentallic said:
The sine rule requires 1 side and 2 angles, the cosine rule requires 2 sides an 1 angle.

[tex]c^2=a^2+b^2-2ab.cosC[/tex]

a, b, c are the side lengths of the triangle and C is an angle. The angle C is opposite the side c.

Now all you need to do is substitute C=t, c=r, and it's your choice whether a=d and b=s or the other way round. It doesn't matter. Now just manipulate the formula to have s=f(r,d,t).

Cool, that is the first thing I tried, however I was not able to isolate a:

[tex]b^2-c^2 = a^2 - 2ac cos t [/tex]
[tex]b^2-c^2 = a(a-2c cos t) [/tex]

And I have no idea where to proceed from here.
 
  • #7
computerex said:
Cool, that is the first thing I tried, however I was not able to isolate a:

[tex]b^2-c^2 = a^2 - 2ac cos t [/tex]
[tex]b^2-c^2 = a(a-2c cos t) [/tex]

And I have no idea where to proceed from here.

In my opinion, you could treat the expression as a quadratic with variable "a", and then solve the quadratic using the quadratic formula or completing the square or whatever. That should work I think (and hope :p).
 
  • #8
computerex said:
Cool, that is the first thing I tried, however I was not able to isolate a:

[tex]b^2-c^2 = a^2 - 2ac cos t [/tex]
[tex]b^2-c^2 = a(a-2c cos t) [/tex]

And I have no idea where to proceed from here.
As already noted, to use the Law of Cosines, you need two sides and the included angle. That's not what you have in this problem.


Series said:
In my opinion, you could treat the expression as a quadratic with variable "a", and then solve the quadratic using the quadratic formula or completing the square or whatever. That should work I think (and hope :p).
 
  • #9
Yup, the quadratic formula will give you the two possible values of a (or s in the original figure). Then you'd have to know whether the angle between r and s is acute or obtuse, as Mark44 suggested earlier, in order to figure out which value of a (i.e. s) is the correct one.
 
  • #10
This seems like a physical collision kind of problem. That is, the line s cannot cut through the circle and connect to r where it touches the circle the second time. This means that the angle between s and r cannot be less than 90o since at 90o the vector s is tangential to the circle so of course by the angle sum of triangles, the other two angles are acute.

Mark, if you can show a way to use your method of going through the sine formula and then the cosine etc. which is easier than plugging straight into the cosine formula and solving that quadratic in s, I'd like to see it :smile:
 
  • #11
Mentallic said:
This seems like a physical collision kind of problem. That is, the line s cannot cut through the circle and connect to r where it touches the circle the second time.
Ah, good point.
Mark, if you can show a way to use your method of going through the sine formula and then the cosine etc. which is easier than plugging straight into the cosine formula and solving that quadratic in s, I'd like to see it :smile:
Note sure exactly how Mark was thinking, but one could follow this procedure:
1. Use the law of sines to find the angle opposite side d (must be ≥90°).
2. Use ∑angles=180° to find the angle opposite s.
3. Use the law of sines to find s.​
This may be less cumbersome than solving the quadratic obtained from the law of cosines.
 
  • #12
Redbelly98 said:
Ah, good point.

Note sure exactly how Mark was thinking, but one could follow this procedure:
1. Use the law of sines to find the angle opposite side d (must be ≥90°).
2. Use ∑angles=180° to find the angle opposite s.
3. Use the law of sines to find s.​
This may be less cumbersome than solving the quadratic obtained from the law of cosines.
This is pretty much what I laid out in an earlier post. In step 3 you can use either the Law of Sines or the Law of Cosines, with the latter being applicable because you now know all three angles, one of which is the included angle between the two given sides.
 
  • #13
Ahh ok using the sine rule after would be easier :smile: because I tried following your method and using the cosine rule, but there was just way too much trigonometric manipulating to deal with.
 

FAQ: Distance between planet and vessel - Trig problem

What is the distance between a planet and a vessel in space?

The distance between a planet and a vessel in space can vary greatly depending on the specific planet and vessel in question. In general, the distance between a planet and a vessel can range from a few hundred kilometers to millions of kilometers.

How is the distance between a planet and a vessel calculated?

The distance between a planet and a vessel is typically calculated using mathematical equations, such as the Pythagorean theorem or the distance formula. These equations take into account the positions and velocities of both the planet and the vessel to determine their distance from each other.

Why is it important to know the distance between a planet and a vessel?

Knowing the distance between a planet and a vessel is crucial for space travel and exploration. It allows scientists and engineers to plan and execute missions effectively, as well as monitor the positions and movements of spacecraft in relation to planets.

How does the distance between a planet and a vessel affect space travel?

The distance between a planet and a vessel can greatly impact space travel. For example, the farther apart the planet and the vessel are, the longer it will take for the vessel to reach the planet. Additionally, the gravitational pull of a planet can influence the trajectory and speed of a vessel.

Can the distance between a planet and a vessel change?

Yes, the distance between a planet and a vessel can change due to a variety of factors. For instance, the gravitational pull of other planets, moons, or objects can alter the trajectory of a vessel, causing it to move closer or farther away from the planet. Additionally, the vessel's own engines and propulsion systems can also impact its distance from a planet.

Back
Top