Compile using the command: $gcc -o filename filename.c -lquadmath.
quadmath.h library is needed to support 128-bit float precision with _Float128. You must have it installed to compile the C scripts. Install quadmath.h library using $sudo apt install m4.
All programs output a .txt file with the data for the plots of the chosen method.
.txt name structure: plot_data_
l:Linear. nl: Non-linear. e: Euler's method. i: Improved Euler's Method. analytic: Analytic solution. cl: Closed-loop. o: Open-loop for axis.
.txt file structure: col1 = time. col2 = x(t). col3 = x'(t). col4 = y(t). col5 = y'(t). col6 = c(t). col7 = c'(t).