Hello,

what is the best way to solve a system of differential equations using arduino?

An example would be

```
//c_i = constant
a_dotdot = c_1*b + c_2*a + c_3;
b_dot = c_4*a + c_5*b + c_5;
```

Thank you.

Hello,

what is the best way to solve a system of differential equations using arduino?

An example would be

```
//c_i = constant
a_dotdot = c_1*b + c_2*a + c_3;
b_dot = c_4*a + c_5*b + c_5;
```

Thank you.

think one c_5 must be c_6

AKJ:

Hello,what is the best way to solve a system of differential equations using arduino?

An example would be

`//c_i = constant`

a_dotdot = c_1*b + c_2*a + c_3;

b_dot = c_4*a + c_5*b + c_5;

`Thank you.`

You'd want to integrate both equations, then integrate the first again. Integrate wrt time? and are the parameters from a sensor? Then accumulate the signal over a period of time, and there is the result of your integral. Once you have solved the integrated, linear equations for a and b, plug and chug.

ChrisTenone

Thanks.

The "best way to solve ... using Arduino" would be one of the many ways that one would ordinarily use to solve such a system, but can be squeezed into the Arduino's tiny memory and execute in a reasonable amount of time, given the slow clock.

First, enumerate the ways, then decide what might work. "real time" is of course not an option.