-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdesmos.html
More file actions
54 lines (44 loc) · 1.95 KB
/
Copy pathdesmos.html
File metadata and controls
54 lines (44 loc) · 1.95 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
44
45
46
47
48
49
50
51
52
53
54
<!DOCTYPE html>
<html>
<head>
<title>Playing with asymptotic analysis</title>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<div id=header>
<h2>PLAYING WITH ASYMPTOTIC ANALYSIS</h2>
</div>
<div id="formulas">
<p>f(n) is in O(g(n)) if and only if: </p> $$
\exists c \exists k \forall n \geq k\quad 0 \leq f(n) \leq cg(n)
$$
<p> f(n) is in Omega(g(n)) if and only if: </p> $$
\exists c \exists k \forall n \geq k\quad 0 \leq cg(n) \leq f(n)
$$
</div>
<noscript>Your browser does not support JavaScript!</noscript>
<div class= "row">
<div id="calculator"></div>
<div id="quiz">
<h3>Quiz</h3>
<p>Is the following function</p>
<div id="function">
</div> <p>in</p> <div id = "parentFunction"> </div>
<input type="radio" id="yes" name="yes" value="yes">
<label for="male">Yes</label><br>
<input type="radio" id="no" name="yes" value="yes">
<label for="female">No</label><br>
<button id="submit">Check Your Answer</button>
<br>
<button id="newFunction">Generate New Function</button>
</div>
</div>
<div id="footer">
<p>Powered by <a href="https://www.desmos.com/calculator">Desmos</a>. <br>
Check out our <a href="https://github.com/startrekdude/asymptotic-analysis">repository</a>! </p>
</div>
<script src="https://www.desmos.com/api/v1.6/calculator.js?apiKey=dcb31709b452b1cf9dc26972add0fda6"></script>
<script type="text/javascript" id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"></script>
<script src="index.js"></script>
</body>
</html>