Jump to content

Math'ing for RemoteTech not going as its suppose. Need help


Recommended Posts

So, I tried to calculate the maximum altitude at which my probes will stay within the cone of a dish, which simple trigonometry.

My method is as follows:

In a triangle, where the Kerbin is corner A, Eve is corner H, and cone corners are B and C, and h (the height if you will)

Now H is directly in between B and C.

Consider triangle ABH. We know angle A = (dish cone angel / 2) degrees, H = 90 degrees, and |AH| = h = min/max distance between Kerbin and Eve.

Using this info, I should get the correct altitude at which the probe will stay inside the cone of the dish (will call this "y") from Kerbin, by finding: |HB| - Eve radius (we'll call this "t")

The total formula should there for be as follows:

x = (((h*sin(y/2))/(sin(180-((y/2)+90))))-r

However the numbers I'm getting doesn't fix what I see in game.

I get that the minimum altitude, that is the altitude when the two planets are closest, i should 80,573,164.77 meters. However at the moment of testing, the planets are pretty much at the max distance, yet here the cone Barely cover a 78.000.000 meter altitude. Needless to say something is going wrong, either in my assumption about how the cone works, or the way I did the math. Its probably an obvious mistake, but I can't find it. Please help

EDIT: Even if I correct for degrees, the result is still absolutely wrong. This is frustrating beyond belief

EDIT 2: Never it was a typo that made the whole thing miss up. I got it now. Thanks anyway :)

Edited by Sokar408
Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...