Aus Truth-Quark
(Unterschied zwischen Versionen)
Cdek (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „<jsxgraph height="300" width="600" board="board" box="jxgbox2"> var b2 = JXG.JSXGraph.initBoard('jxgbox2', {originX: 300, originY: 150, unitX: 20, unitY: 40}); ...“) |
Cdek (Diskussion | Beiträge) |
||
Zeile 1: | Zeile 1: | ||
- | <jsxgraph height= | + | <jsxgraph height='150' width='150' board='board' box='jxgbox2'> |
- | var b2 = JXG.JSXGraph.initBoard('jxgbox2', {originX: | + | var b2 = JXG.JSXGraph.initBoard('jxgbox2', {originX: 75, originY: 75, unitX: 30, unitY: 50}); |
axisx = b2.createElement('axis', [[0,0], [1,0]], {}); | axisx = b2.createElement('axis', [[0,0], [1,0]], {}); | ||
axisy = b2.createElement('axis', [[0,0], [0,1]], {}); | axisy = b2.createElement('axis', [[0,0], [0,1]], {}); | ||
- | b2.createElement('functiongraph', [function(x){return Math.sin(x);}]); | + | b2.createElement('functiongraph', [function(x){return x;}]); |
+ | </jsxgraph> | ||
+ | <jsxgraph height="300" width="600" board="board" box="jxgbox3"> | ||
+ | var b3 = JXG.JSXGraph.initBoard('jxgbox3', {originX: 300, originY: 150, unitX: 20, unitY: 40}); | ||
+ | axisx = b3.createElement('axis', [[0,0], [1,0]], {}); | ||
+ | axisy = b3.createElement('axis', [[0,0], [0,1]], {}); | ||
+ | b3.createElement('functiongraph', [function(x){return Math.sin(x);}]); | ||
</jsxgraph> | </jsxgraph> | ||
<jsxgraph height="300" width="600" board="board" box="jxgbox"> | <jsxgraph height="300" width="600" board="board" box="jxgbox"> | ||
Zeile 13: | 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); | ||
+ | {{clograph}} | ||
+ | <{{opgraph}} x; | ||
+ | {{clograph}} |