# Solving nonlinear ordinary differential equations

2 views (last 30 days)
bbah on 26 Jun 2020
Commented: darova on 2 Jul 2020
I want to solve the following equation:
h(x) = -(D+a*(D/RT)*o*C)dc/dx
% D, a, R,T, o are parameters
%Boundary conditions:
h(0,t)=h(w,t) = C_sat;
%Initial conditions:
c(x,0)=0;
##### 12 CommentsShow 10 older commentsHide 10 older comments
bbah on 2 Jul 2020
sorry for the later response. I think the final equation to be solved is this.
The flux needs to be implemented into the mass balance equation leading to this equation in 1D:
alpha, omega, D, R and T are known ant the boundary conditions are:
c(0,t)=c(w,t) = e.g. 1000 for t(0,t_end)
initial condition
c(x,0) = 0, for x(0,w);
i hope you can help me with this equation
darova on 2 Jul 2020
What about method of lines?

Sign in to comment.

### Categories

Find more on Ordinary Differential Equations in Help Center and File Exchange

### Community Treasure Hunt

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

Start Hunting!