Solve an ODE using NGSolve

Hello everyone

The following equation is an Ordinary Differential Equation (ODE) that I’d like to solve using FEM

1

The dot denotes the derivative with respect to time (t). If we consider this within one element [t_0, t_1], in weak formulation, we have

2

Now, how can I impose the initial condition within NGSolve? Specifically, how can I define the first term on the left-hand side (similar to the second one on the right-hand side)?

I would appreciate your guidance, whether through an answer or by referencing a similar example.