Difference between revisions of "Differential equations"

From JSXGraph Wiki
Jump to navigationJump to search
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 10:37, 14 July 2010

f(t,x)=

The underlying JavaScript code