Solving an integral equation
4 次查看(过去 30 天)
显示 更早的评论
I'm looking to implement a solution to the following equation:
, where a is a known constant, for demonstration purposes set to 5 below.
Code that I tried:
syms r(t)
i=int(1/(r.^4),0,t)
solve(r==(1-5*i),r)
No clue how to tackle the problem. Thanks in advance!
0 个评论
采纳的回答
Bjorn Gustavsson
2021-6-3
For this I think pen-and-paper might be easier than using the symbolic toolbox. Simply differentiate both sides of your definition of r and convert your integral equation into a differential equation:
This simplifies to (at least for some nice-constraints on r):
That way you now have a reasonably ordinary ODE instead. This is most hand-wavy lacking mathematical rigor, but you should be able to add that if required.
HTH
2 个评论
Bjorn Gustavsson
2021-6-3
You're welcome. This is the standard way (I've been taught) of attacking this type of integral equations, for others you might start to look at the methods for solving integral equations in chebfun.
更多回答(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!