Solve a differential equation using a For loop !

7 ビュー (過去 30 日間)
Abdullaziz Al-Farqani
Abdullaziz Al-Farqani 2019 年 1 月 31 日
Gents, I am trying to solve the following equations(dMB/dt, SB(j) ) , for each stage, in Matlab using a For loop:
dMB/dt = B(j) - B(j-1); % Mass flowrate of brine solution
SB(j) = (1-CB(j)*(0.011311 - 1.146e-05*TB(j)))*SD(j); % specific heat of brine
,where j represents a stage number (e.g. j = 1:N), N = 20(number of stages)
Notice that I have defined, (CB(j),TB(j),SD(j)), for all stages (N)

回答 (0 件)

カテゴリ

Help Center および File ExchangeMathematics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by