I am trying to solve a fractional-order 2-compartment model using the method of manufactured solution (MMS). I do understand the concept of MMS, but I am not sure how to come with a Mathematica code for such a system enter image description here

  • 2
    $\begingroup$ I think that you are missing a source term to be able to apply the method. $\endgroup$
    – nicoguaro
    Jul 10, 2021 at 14:20

1 Answer 1


Your problem can be rewritten as

$$\mathbf{x}' = A \mathbf{x}\, .$$

Nevertheless, to apply the method of manufactured solutions you need a system of the form

$$\mathbf{x}' = A \mathbf{x} + \mathbf{b}\, ,$$

to use

$$\mathbf{b}_\text{manu} = \mathbf{x}_\text{manu} ' -A \mathbf{x}_\text{manu} \, ,$$

where $\mathbf{x}_\text{manu}$ is the proposed solution.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.