Differential equations: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
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 14:14, 14 July 2010

f(t,x)=

The underlying JavaScript code