Differential equations: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary  | 
				A WASSERMANN (talk | contribs) No edit summary  | 
				||
| Line 1: | Line 1: | ||
<html>  | <html>  | ||
<form>  | <form>  | ||
f(t,x)=<input type="text" id="odeinput" value="  | f(t,x)=<input type="text" id="odeinput" value="(2-t)*x"><input type=button value="ok" onclick="doIt()">  | ||
</form>  | </form>  | ||
</html>  | </html>  | ||
| Line 9: | Line 9: | ||
var f = function(t,xx) {  | var f = function(t,xx) {  | ||
        var x = xx[0];  |         var x = xx[0];  | ||
        y =   |         y = (2-t)*x;  | ||
        return [y];  |         return [y];  | ||
Revision as of 12:13, 14 July 2010