System of differential equation, Euler's method

74 Views Asked by At

Does anyone know if there is any calculator or how can I input this system of differential equation in wolfram?

$$\frac{dy_1}{dt}=0.279\left[-0.125y_1+2y_2-1.25y_C+1.25e\right]$$

$$\frac{dy_2}{dt}=-0.167\left[-0.333y_1+12.5y_2-0.333y_C+0.333e\right]$$

$$\frac{dy_C}{dt}=2y_1$$

And $e$ is a function, defined as

$$e(t) = 210\sin(10\pi t), t \in [0, 30].$$

I've solved this using Euler method, but I want to verify my results and I'm looking for suitable tool.

Diagrams with results:

step = 0.1 step - 0.1

step = 0.01 step - 0.01

Thanks in advance.