Inverse Composition Rules: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 61: Line 61:
  } else if (t=='log') { func = function(x) { return Math.log(x); }
  } else if (t=='log') { func = function(x) { return Math.log(x); }
  }
  }
alert(f.toString());
  plotf.Y = f; plotf.updateCurve();
  plotf.Y = f; plotf.updateCurve();
  plotg.Y = g; plotg.updateCurve();
  plotg.Y = g; plotg.updateCurve();

Revision as of 13:36, 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