Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
Chi-Hsien Tang
Chi-Hsien Tang le 30 Sep 2016
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

Réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by