Talk:Runge-Kutta method: Difference between revisions

From Rosetta Code
Content added Content deleted
m (→‎Tableaus: corrected spelling and capitalization.)
(White-space tidying on April 29 2016 rendered formulae invisible to most browsers)
Line 12: Line 12:


As it is, this is completely unreadable and unhelpful to someone who's trying to learn (which seems to be the goal of this wiki). [[User:Nihil|Nihil]] ([[User talk:Nihil|talk]]) 01:59, 8 September 2014 (UTC)
As it is, this is completely unreadable and unhelpful to someone who's trying to learn (which seems to be the goal of this wiki). [[User:Nihil|Nihil]] ([[User talk:Nihil|talk]]) 01:59, 8 September 2014 (UTC)

==All formulae rendered invisible to many browsers by white-space tidying on April 29 2016==

White space edits on the task page, including the injection of spaces around expressions in <math> tags, has rendered all formulae in the task description completely invisible to all browsers which display the graphic file version of formulae rather than processing the MathML (this is, in fact, the majority of browsers). The MediaWiki processor does not currently expect such spaces, and generates syntactically ill-formed HTML if they are introduced. [[User:Hout|Hout]] ([[User talk:Hout|talk]]) 16:31, 20 September 2016 (UTC)

Revision as of 16:31, 20 September 2016

Tableaus

I see that practical RK solvers are often defined in terms of a tableau, and I keep thinking it would be awesome to have this task work that way. (I've got some C++ code to do it, but it's no-way suitable for RC because it's both totally gigantic and by someone else.) –Donal Fellows 14:35, 15 March 2012 (UTC)

Adaptive step sizing, arbitrary order, and showing the solving of higher order / coupled equations would all be interesting, but I fear it would turn into more of a math problem than a programming one. I've done quite a bit of mechanical engineering related programming I could add on RC, but its just hard to say how much the average person would follow along with or care about (and many would just end up complicated exercises in matrices). Everyone should have a basic RK4 solver in their language though. That said, ill I'll follow suit in Ada if someone wants to up the complexity ante on this one. Xenoker 17:59, 15 March 2012 (UTC)

Mathematica

Is the Mathematica solution correct? It appears to be the case that the engine used has produced an analytical solution of the DE, rather than using RK4. So far as I can tell, that's not playing by the rules of this task (even though it is otherwise the more useful option). The reason why this matters is because the point when people actually normally break out the RK methods is when getting an analytical solution is rather more problematic. –Donal Fellows 23:17, 16 March 2012 (UTC)

It appears to have directly gone for the analytical answer rather than RK4, which I would consider fair if it was an automated optimization, however it does not appear it was told to use RK4 or 100 segments in the first place. Xenoker 01:12, 17 March 2012 (UTC)

Lambdas in the Python example

As it is, this is completely unreadable and unhelpful to someone who's trying to learn (which seems to be the goal of this wiki). Nihil (talk) 01:59, 8 September 2014 (UTC)

All formulae rendered invisible to many browsers by white-space tidying on April 29 2016

White space edits on the task page, including the injection of spaces around expressions in <math> tags, has rendered all formulae in the task description completely invisible to all browsers which display the graphic file version of formulae rather than processing the MathML (this is, in fact, the majority of browsers). The MediaWiki processor does not currently expect such spaces, and generates syntactically ill-formed HTML if they are introduced. Hout (talk) 16:31, 20 September 2016 (UTC)