Solving a differential equation with 2 dependent variables using SciLab

191 Views Asked by At

I am trying to solve the following differential equation, which has 2 dependent variables. How do I solve it? And how do I solve it on SciLab?

$kA_{c}\frac{d^2T}{dx^2}+ k\frac{dA_{C}}{dx}\frac{dT}{dx} - hP(T-T_{\infty}) = 0$

In this equation, $A_{c}$ and T are dependent on $x$.

Note: If this is not the right place for the SciLab question, then I apologize in advance...

edit:Oh, and the boundary conditions are:

At $ x = 0; T = T{\infty}$; and at $x = L; h(T- T{\infty}) = - k \frac{dT}{dx} $

$A_{c}$ will be a user defined function of x.