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 = 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

f(t,x)=

The underlying JavaScript code