Hilfe:Hilfe

Aus Truth-Quark

(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
Zeile 19: Zeile 19:
b.createElement('functiongraph', [function(t){ return (1/Math.sqrt(2*Math.PI))*Math.pow(2.71,-0.5*Math.pow(t,2)); }],{strokeColor:'#ff0000'});
b.createElement('functiongraph', [function(t){ return (1/Math.sqrt(2*Math.PI))*Math.pow(2.71,-0.5*Math.pow(t,2)); }],{strokeColor:'#ff0000'});
</jsxgraph>
</jsxgraph>
-
<{{opgraph}} Math.cos(x);
+
<jsxgraph height='150' width='150' board='board'  box='jxgbox'>
-
{{clograph}}
+
var b = JXG.JSXGraph.initBoard('jxgbox', {originX: 75, originY: 75, unitX: 30, unitY: 50});       
-
<{{opgraph}} x;
+
axisx = b.createElement('axis', [[0,0], [1,0]], {});
-
{{clograph}}
+
axisy = b.createElement('axis', [[0,0], [0,1]], {});
 +
b.createElement('functiongraph', [function(x){return Math.cos(x);
 +
}]);
 +
</jsxgraph>
 +
<jsxgraph height='150' width='150' board='board'  box='jxgbox'>
 +
var b = JXG.JSXGraph.initBoard('jxgbox', {originX: 75, originY: 75, unitX: 30, unitY: 50});       
 +
axisx = b.createElement('axis', [[0,0], [1,0]], {});
 +
axisy = b.createElement('axis', [[0,0], [0,1]], {});
 +
b.createElement('functiongraph', [function(x){return x;
 +
}]);
 +
</jsxgraph>

Version vom 22:00, 25. Mär. 2009