Solve the first-order ode with power n (inhomogeneous)
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Ordinary Differential Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!