Inverse Composition Rules: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 13: Line 13:
  <tr>
  <tr>
   <td>&nbsp;</td>
   <td>&nbsp;</td>
   <td><input type="radio" name="f" value="sin" checked></td>
   <td><input type="radio" name="f" value="sin" checked onClick="change()"></td>
   <td><input type="radio" name="f" value="cos"></td>
   <td><input type="radio" name="f" value="cos" onClick="change()"></td>
   <td><input type="radio" name="f" value="tan"></td>
   <td><input type="radio" name="f" value="tan" onClick="change()"></td>
   <td><input type="radio" name="f" value="square"></td>
   <td><input type="radio" name="f" value="square" onClick="change()"></td>
   <td><input type="radio" name="f" value="sinh"></td>
   <td><input type="radio" name="f" value="sinh" onClick="change()"></td>
   <td><input type="radio" name="f" value="exp"></td>
   <td><input type="radio" name="f" value="exp" onClick="change()"></td>
  </tr>
  </tr>
  <tr>
  <tr>
Line 43: Line 43:
<jsxgraph width="600" height="600" box="box">
<jsxgraph width="600" height="600" box="box">
var brd = JXG.JSXGraph.initBoard('box', {axis:true, originX: 300, originY: 300, grid:true, unitX: 50, unitY: 50});
var brd = JXG.JSXGraph.initBoard('box', {axis:true, originX: 300, originY: 300, grid:true, unitX: 50, unitY: 50});
var f, g;
var change() = function() {
var t = $('f').value;
alert(t);
}
             
</jsxgraph>
</jsxgraph>



Revision as of 13:17, 19 June 2009

f(x) sin(x) cos(x) tan(x) x2 sinh(x) exp(x)
 
g(x) arcsin(x) arccos(x) arctan(x) √(x) arcsinh(x) log(x)
 

The underlying JavaScript code