Solving simultaneous differential equations symbolically on MATLAB

I need to solve the following differential equations (recommended method: Runge Kutta Gill integration)
(dc/dx) = (K*c-C_p)-c*(dP/dx)
(dP/dx)=(K*c-C_p)/c
K is a constant; C_p is just C with subscript p and is a constant; P and c are the variables.
Boundary conditions:
at x=0, C=C_w
at x=L, c=C_p
Please tell me how I could do this, since I've never done integration on MATLAB before!

1 件のコメント

Yagnaseni Roy
Yagnaseni Roy 2014 年 2 月 9 日
It seems I need to solve the two equations and then integrate between the limits.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeNumerical Integration and Differential Equations についてさらに検索

質問済み:

2014 年 2 月 9 日

回答済み:

2014 年 2 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by