• Keine Ergebnisse gefunden

============ Part B – Main Part ========================

N/A
N/A
Protected

Academic year: 2021

Aktie "============ Part B – Main Part ========================"

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Fakult¨ at f¨ ur Mathematik und Informatik 29. Mai 2012 TU Bergakademie Freiberg

W. Queck/M. Helm

Numerical Analysis of Differential Equations Initial Value Problems (IV)

============ Part B – Main Part ========================

Exercise 1

Determine the solution of the following linear difference equations. For the identification of a par- ticular solution of the inhomogeneous difference equation try an “ansatz“ with the same structure as the right hand side.

a) x

n

=

12

(x

n−2

+ x

n−1

), n = 3, 4, . . ., Initial conditions: x

1

=

32

, x

2

=

34

b) x

n

− 2x

n−1

+ x

n−2

= 0

c) 2x

n+2

+ 3x

n+1

− 2x

n

= 0, n = 0, 1, . . ., Initial conditions: x

0

= 5, x

1

= 0

d) x

n

− 5x

n−1

+ 6x

n−2

= 2, n = 2, 3, . . ., Initial conditions: x

0

= 1, x

1

= −1 Exercise 2

Restricted 3-body problem

We consider a satellite in the gravity field of earth and moon. We assume that the movement of the three bodies takes place within a fixed plane, and that the two heavy bodies are rotating around their barycenter with constant distance and with constant angular velocity. This means, the influence of the satellite on the orbits of earth and moon can be omitted - that’s why this is called a restricted 3-body problem.

With respect to a coordinate system which is coupled to this rotation (i. e. earth and moon have fixed positions in this system), the satellite’s orbit (x, y) = (x(t), y(t)) can be described by a system of second order differential equations:

x

00

= x + 2y

0

− µ x + µ

[(x + µ)

2

+ y

2

]

3/2

− µ x − µ [(x − µ)

2

+ y

2

]

3/2

, y

00

= y − 2x

0

− µ y

[(x + µ)

2

+ y

2

]

3/2

− µ y

[(x − µ)

2

+ y

2

]

3/2

.

Here, µ = 1/82.45 is the ratio between the mass of the moon and the cumulative mass of earth and moon, and µ = 1 − µ. The length unit is the distance between earth and moon. The earth is placed in the origin and the moon on the positive real axis. The time unit is chosen in a way, that the angular velocity of the rotation is one, i. e. the moon needs 2π time units for one orbit.

a) Rewrite the second order differential equation system as a first order system. Apply the substitutions y

1

(t) = x(t), y

2

(t) = y(t) and y

3

(t) = x

0

(t), y

4

(t) = y

0

(t).

b) Solve the first order ODE system using the Matlab routine [t,y] = ode45(@f,y0,[0 tend],options)

with the following initial values y0 in t = 0:

y

1

(0) = 1.2, y

2

(0) = 0, y

3

(0) = 0, y

4

(0) = −1.04935750983031990726.

Therefore choose an appropriate end tend for the integration interval.

(2)

Initial Value Problems 2

c) Specify or control via the fourth input parameter options:

– the tolerances RelTol and AbsTol for the stepsize control of ode45, – the plot function for the phase plot (y

1

, y

2

) (corresponds to (x(t), y(t))),

– the detection of local minima and maxima of the orbit/trajectory (points with horizon- tal or vertical tangent) by use of an event function.

Hint: Analyze the additional output parameters in the statement [t,y,te,ye,ie] = ode45(@f,y0,[0 tend],options).

d) Observe what happens if

– tend will be enlarged or reduced,

– the fourth component in the initial condition y

4

(0) is rounded (for instance) to −1.05?

e) Modify the event function so that ode45 terminates after the calculation of a closed trajec- tory.

f) Solve the 3-body problem with a classical Runge-Kutta method of fourth order and constant stepsize h = (t

end

−t

0

)/n. How many integration steps n are needed to get a similar trajectory as with ode45?

Hint: Use the plot statement to generate a picture of the orbital trajectory.

g) Solve the 3-body problem a second time with ode45 using the following data µ = 0.012277471,

y

1

(0) = 0.994, y

2

(0) = 0, y

3

(0) = 0, y

4

(0) = −2.00158510637908252240537862224.

Determine a value for tend resulting in a closed trajectory. How many integration steps are needed for the associated integration interval?

Hint: The number of integration steps in ode45 depends on the chosen tolerances RelTol and AbsTol.

h) Try to reproduce the second orbit with the classical Runge-Kutta method with fixed stepsize.

Referenzen

ÄHNLICHE DOKUMENTE

The red-green government of Chancellor Gerhard Schröder enforced promotion of electricity produced from renewable energy sources and the gradual restriction of

Nel senso che certamente la teoria walrasiana è una teoria dell’equilibrio generale; mentre non è esattamente vero l’opposto. Hicks nel suo articolo IS-LM: An

It focuses on the conception of austriacisms from different points of view according to linguistic experts, the analysis of the terms from the novel of Nöstlinger and most

Since 2002, the “GRACE” satellite mission measures the gravity field of the Earth accurately enough to determine such variable mass fluxes on the surface (GRACE = Gravity

The visibility was impaired by light snowfall when we could observe a layer of grease ice to cover the sea surface.. It was swaying in the damped waves and torn to pieces by

The DNA chip contains a hierarchical set of oligonucleotide probes specific for different phytoplankton classes, genera and species occurring in the North Sea.. It

These images are analysed to determine the relative percentages of snow covered ice, new ice and open water, to deter- mine fracture patterns in newly formed leads (relevant to

A hazard originating from technological or industrial conditions, including accidents, dangerous procedures, infrastructure failures or specific human activities, that may cause