Solve the first-order ode with power n (inhomogeneous)
1 view (last 30 days)
Show older comments
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
0 Comments
Answers (0)
See Also
Categories
Find more on Ordinary Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!