Clear Filters
Clear Filters

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

1 view (last 30 days)
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

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!