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 = 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]");
}
}

Revision as of 09:37, 14 July 2010

f(t,x)=

The underlying JavaScript code