#include "ibex.h" using namespace ibex; int main(){ const int n = 1; Variable y(n); IntervalVector state(n); state[0] = 10.0; // Dynamique d'une voiture avec incertitude sur sa masse Function ydot(y, ( -50.0 * y[0] - 0.4 * y[0] * y[0]) / Interval (990, 1010)); ivp_ode vdp = ivp_ode(ydot, 0.0, state); // Integration numerique ensembliste simulation simu = simulation(&vdp, 100, RK4, 1e-6); simu.run_simulation(); //For an export in order to plot simu.export1d_yn("export-open-loop.txt", 0); return 0; }