How to solve this equation?

2 views (last 30 days)
Ilias Bouchkira
Ilias Bouchkira on 17 Aug 2021
Edited: Walter Roberson on 17 Aug 2021
Hi everyone,
Please can someone tells me how to solve the following equation using a pre-defined solver, such as ode15s;
is there any tutorials, file exchange, youtube video that may help ?
thank you so much in advance,
regards;
  2 Comments
Wan Ji
Wan Ji on 17 Aug 2021
Edited: Wan Ji on 17 Aug 2021
Hey, friend! The equation you provided cannot be solved by ode solver. It is already a 1st-order linear nonhomogeneous partial differential equation. It looks like 2d advection equation. So you can solve it by finite difference method.
You may take a reference to advection-in-1d-and-2d
Ilias Bouchkira
Ilias Bouchkira on 17 Aug 2021
Thank you so much for sharing the exchange code and for the answer!

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 17 Aug 2021
Edited: Walter Roberson on 17 Aug 2021
That is a Partial Differential Equation (PDE), and can only be solved with ODE approaches if k_b sigma^b mu_3 delta(L, W) are separable for the three variables, making it really a series of three ODE.
Notice that the left side has a partial with respect to t but the right does not mention t in any obvious way. Either t is hidden (such as in the definition of k_b) or else the derivative with respect to t has to be zero.
  1 Comment
Ilias Bouchkira
Ilias Bouchkira on 17 Aug 2021
Thank you so much for the answer, actually, sigma_b and mu_3 depend on t;

Sign in to comment.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!