/Lagrange-s-case-visualization

Researching the physics in situation known as Lagrange's case. Integrating equations of motion and making graphical representation of rigid body motion

Primary LanguageC++

Lagrange's case

This repository created by Pavel Filippenko and Mikhail Ovsiannikov.

The program simulates motion of rigid body with fixed point

How to build and execute

First of all, you have to clone the repository:

$ git clone https://github.com/OAMichael/Lagrange-s-case-visualization.git

After that you are to type make being in folder Lagrange-s-case-visualization:

$ make

And all you left to do is run the program:

$ ./Main.exe

How to execute python script

You have two ways to execute python code on your computer. First case:

$ python3 <filename>.py <args>

Second case:

$ chmod +x <filename>.py
$ ./<filename>.py <args>

ATTENTION: In the second case the first line in your python script must be

#!/usr/bin/env python3

Visualisation

caption

caption

caption

caption

caption

caption