The correct answer is (a) ODE solver
For explanation: The case for the capacitor has an initial condition. So the int() command won’t merely give the voltage, as a function of time, for the capacitor. We need to use the ode45 solver or the ode23 solver. The quad command won’t also give the true solution for a voltage since it doesn’t return the complementary function.