Simple function plotter: Difference between revisions

From JSXGraph Wiki
(New page: Plots a function together with its derivative. <html> <link rel="stylesheet" type="text/css" href="http://jsxgraph.uni-bayreuth.de/distrib/jsxgraph.css" /> <script type="text/javascript" s...)
 
No edit summary
Line 4: Line 4:
<script type="text/javascript" src="http://jsxgraph.uni-bayreuth.de/distrib/prototype.js"></script>
<script type="text/javascript" src="http://jsxgraph.uni-bayreuth.de/distrib/prototype.js"></script>
<script type="text/javascript" src="http://jsxgraph.uni-bayreuth.de/distrib/jsxgraphcore.js"></script>
<script type="text/javascript" src="http://jsxgraph.uni-bayreuth.de/distrib/jsxgraphcore.js"></script>
<form><textarea id="eingabe" rows=10 cols=35 wrap="off" >
<form><textarea id="input" rows=10 cols=35 wrap="off" >
function f(x) {
function f(x) {
   return Math.cos(x)*p.Y();
   return Math.cos(x)*p.Y();

Revision as of 17:02, 3 December 2008

Plots a function together with its derivative.