# Difference between revisions of "Differential equations"

From JSXGraph Wiki

Jump to navigationJump to searchA WASSERMANN (talk | contribs) |
A WASSERMANN (talk | contribs) |
||

Line 15: | Line 15: | ||

function doIt() { | function doIt() { | ||

− | var t = document.getElementById("odeinput").value; | + | var t = JXG.GeonextParser.geonext2JS(document.getElementById("odeinput").value); |

f = new Function("t", "xx", "var x = xx[0]; var y = " + t + "; return [y]"); | f = new Function("t", "xx", "var x = xx[0]; var y = " + t + "; return [y]"); | ||

brd.update(); | brd.update(); |

## Revision as of 16:14, 14 July 2010