libnum:examples:gear
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| libnum:examples:gear [2026/03/04 14:06] – abc | libnum:examples:gear [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Integration of Systems of Linear Differential Equations ====== | ||
| - | Gear Method.\\ | ||
| - | Let's examine the following //SLDE//: | ||
| - | y₁′ = y₂ | ||
| - | y₂′ = y₁ | ||
| - | y₁(0)=0 | ||
| - | # we expect sin(x)/ | ||
| - | |||
| - | < | ||
| - | #include < | ||
| - | #include < | ||
| - | #include " | ||
| - | |||
| - | using namespace NumericMethods; | ||
| - | |||
| - | { | ||
| - | | ||
| - | | ||
| - | |||
| - | Gear solver; | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | |||
| - | | ||
| - | | ||
| - | |||
| - | try | ||
| - | { | ||
| - | Message rc=solver.solve(0, | ||
| - | } | ||
| - | | ||
| - | } | ||
| - | </ | ||
libnum/examples/gear.1772622402.txt.gz · Last modified: by abc
