T2: gravitational forces; vectors and loops;
using make and gnuplot

Before the tutorials:

Do, think about, and research the following:

During the tutorials:

Program it!

Maybe you can explore the power of C++:

Sample code

Discussion of the results:

Plot your results with gnuplot to see at which distance the Lense-Thirring effect becomes noticeable. Where could it be even more important?

Programming goals for T2:

Goal of this tutorial is that you learn how to use arrays and loops in a program. You might even get to learn how classes work and how this can simplify how you write mathematical expressions in the program code. In addition you should learn the concept of “Makefiles” and how to plot data with gnuplot.