photo

David Akinpelu


Last seen: 3 mois il y a Actif depuis 2018

Followers: 0   Following: 0

Statistiques

Feeds

Afficher par

Question


I want to solve a multi point boundary condition differential equation. I keep getting error on my Bvp4c line, I tried debugging it, but could resolve the error.
function rhs = bvp_rhs(x,T) rhs=[T(2); ((v/(2*a))^2)* T(1)]; function bc=bvp_bc(Tl,Tm,Tr) bc=[Tl(1);Tm(21);(1/k)*e^(vx/...

presque 6 ans il y a | 1 réponse | 0

1

réponse

Question


I am pretty new to MATLAB. I am try to use ode 45 to solve a differential equation arising from a multiple source boundary condition. I want to use a for loop for the boundary condition, but I guess I am missing something
function Temp = proj(x,h) b=h(1); g=h(2); v=20; a=0.5; k=45; q=5000; Temp(1,1)=g; for x=0:200 if ...

presque 6 ans il y a | 1 réponse | 0

1

réponse