This repository was archived by the owner on May 19, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
43 lines (35 loc) · 1.57 KB
/
index.html
File metadata and controls
43 lines (35 loc) · 1.57 KB
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
<html>
<head>
<meta charset="UTF-8">
<script language="javascript" type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.6.0/p5.min.js"></script>
<script language="javascript" type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.6.0/addons/p5.dom.min.js"></script>
<script language="javascript" type="text/javascript" src="sketch.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body id="body" style="text-align:center; line-height: 1.5;">
<div style="margin-top:10px; margin-bottom:10px;">
<div id="slideContainer">
</div>
<!-- <button onclick="addF()">Add</button> -->
</div>
<div id="inputFunctionDiv">
</div>
<div id="functionDiv">
</div>
<div id="advices" style="font-size:18px; border:2px black solid; margin-bottom:10px;">
| nx = <b>n*x</b> | n:x = <b>n/x</b> | 1/2 = <b>0.5</b> | √x = <b>sqrt(x)</b> | x³ = <b>pow(x, 3)</b> | |x| = <b>abs(x)</b> |
<br>
| +∞ = <b>Infinity</b> | -∞ = <b>-Infinity</b> |
<br>
| <b>e</b> = 2.71828... | lnx = <b>log(x)</b> | log<sub>n</sub>x = <b>log(x)/log(n)</b> |
<br>
| π = <b>PI</b> | sinx = <b>sin(x)</b> | cosx = <b>cos(x)</b> |
<br>
| use variable <b>a</b> and change value at slider above, example: <b>f(x) = x*a</b> |
<br>
| function is <b>case-sensitive</b> |
<br>
Example: <b>f(x) = sqrt(pow(R, 2) - pow(x, 2)) x∈[-Infinity,Infinity] Color 0 0 0</b>
</div>
</body>
</html>