-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
48 lines (45 loc) · 1.95 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Cobweb diagram for recurring sequences</title>
<!-- Matomo -->
<script>
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//matomo.matb.it/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '7']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<!-- script src="https://raw.githubusercontent.com/kbwood/svg/blob/Release_1_4_5/jquery.svg.js"></script>
<link rel="stylesheet" type="text/css" href="https://raw.githubusercontent.com/kbwood/svg/blob/Release_1_4_5/jquery.svg.css" -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.3/MathJax.js?config=TeX-AMS-MML_HTMLorMML.js"></script>
<script src="math.js"></script>
<script src="jquery.mousewheel.min.js"></script>
<link rel="stylesheet" href="index.css">
</head>
<body>
<h1>Recurring sequences</h1>
<h2>Interactive Cobweb diagram</h2>
Function: <input id="expr" value="cos(x)"><input id="draw" type="submit" value="draw">x=<span id="x">?</span>, y=<span id="y">?</span>
<span id="c_span">c=<input id="c_input" value="1.0"><input id="c_slider" type="range" min="0" max="10" value="1" class="slider"></span>
<br />
<p id="formula">...</p>
<canvas id="param_canvas" width="640" heigh="480"></canvas>
<canvas id="canvas" width="640" height="480"></canvas>
<table id="table">
</table>
<p id="bottom">Source on <a href='https://github.com/paolini/recurrence/'>github</a>
<script src="plot.js"></script>
<script src="util.js"></script>
<script type="text/javascript" src="recurrence.js"></script>
</body>
</html>