Solving differential equation with accurate solutions?
1 回表示 (過去 30 日間)
古いコメントを表示
Lasha
2014 年 3 月 30 日
回答済み: CHANDRA SHEKHAR BESTA
2014 年 3 月 30 日
So I want to solve this differential equations with let's say the initial condition x1 and then I want to solve it for x1+d(d somewhere in 10^-6 range). So how do I solve it? thanks,
0 件のコメント
採用された回答
CHANDRA SHEKHAR BESTA
2014 年 3 月 30 日
Use this command, before starting your calculation.
_
format long
0 件のコメント
その他の回答 (1 件)
John D'Errico
2014 年 3 月 30 日
This is really a non-question. It is far too generic, so the answer will be of no serious use.
You solve it the same way you solve any ODE. With care in the numerical analysis, which probably means understanding the tools you will use, and understanding ODEs in general. You solve it with the right tool. Of course, often the proper tool depends on the ODE to be solved, etc.
My point is that you are thinking that a distance of 1e-6 is a tiny distance. So scale the problem, transforming things by a factor of 1e-6. Now the distance is 1. Problem solved!
Effectively, instead of using units of kilometers, where a distance might be measured as 1e-6 kilometers, you transform the problem to have units of millimeters. Of course, you still need to do all of the things I discussed before.
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!