<< CL_ip_insertionDv Interplanetary Models >>

CelestLab >> Interplanetary > CL_ip_sphereInfluence

CL_ip_sphereInfluence

Computation of the sphere of influence

Calling Sequence

[rsoi1] = CL_ip_sphereInfluence(mu1,mu2,dist)

Description

Parameters

mu1:

gravitational constant of the first body [km^3/s^2] (1xN or 1x1)

mu2:

gravitational constant of the second body [km^3/s^2] (1xN or 1x1)

dist:

distance between the two bodies [m] (1xN or 1x1)

rsoi1:

radius of sphere of influence around body 1 [m] (1xN)

Authors

Bibliography

Examples

// NOTA: Use CL_init to have access to CelestLab constants.

// Example 1: Sphere of influence of the Earth
mu1 = %CL_planetC.earth.mu;
mu2 = %CL_muSun;
dist = 1 * %CL_au;
[rsoi1]=CL_ip_sphereInfluence(mu1,mu2,dist)

// Example 2: Sphere of influence of the planets in the Solar system
mu1 = [%CL_planetC.mercury.mu, %CL_planetC.venus.mu, %CL_planetC.earth.mu,..
%CL_planetC.mars.mu, %CL_planetC.jupiter.mu, %CL_planetC.saturn.mu,..
%CL_planetC.uranus.mu, %CL_planetC.neptune.mu];
mu2 = %CL_muSun;
dist = [0.39, 073, 1, 1.52, 5.2, 9.5, 19.2, 30.7] * %CL_au;
[rsoi1] = CL_ip_sphereInfluence(mu1,mu2,dist)
<< CL_ip_insertionDv Interplanetary Models >>