Azzera filtri
Azzera filtri

Solve the first-order ode with power n (inhomogeneous)

1 visualizzazione (ultimi 30 giorni)
Hi All,
I'm trying to solve the following equation numerically:
y'/G+A*y^n=r0
where G, A, r0, and power n are constant, and y is a function of t with boundary conditions:
y(0)=y0+dy0, y(t->inf)=y0,
where y0=(r0/A)^(1/n) and dy0 is a constant.
Could I solve this equation by ode45 or ode23?
Thanks,
CH

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by