Solve a differential equation using a For loop !

4 Ansichten (letzte 30 Tage)
Abdullaziz Al-Farqani
Abdullaziz Al-Farqani am 31 Jan. 2019
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)

Antworten (0)

Kategorien

Mehr zu Mathematics finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by