-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdiscrim.html
More file actions
75 lines (71 loc) · 3.57 KB
/
discrim.html
File metadata and controls
75 lines (71 loc) · 3.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Discriminant and Zeros</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"
rel="stylesheet" />
<link
href="https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap"
rel="stylesheet" />
<link
href="https://fonts.googleapis.com/css2?family=Teko:wght@300..700&display=swap"
rel="stylesheet" />
<link
rel="stylesheet"
href="https://www.w3schools.com/w3css/4/w3.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
<link rel="stylesheet" href="styles.css" />
<script src="discrim.js"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
</head>
<body>
<!-- Header -->
<div class="w3-container spartan">
<h1><a href="index.html"><i class="fa fa-home"></i></a> ACAD Math Apps</h1>
<img src="Images/Spartan-Logo2.png" height="50" class="logo" />
</div>
<!-- Body -->
<div class="w3-container">
<h2>Discriminant and Zeros</h2>
<p>Click START and then calculate the discriminant. Use the discriminant to determine how many zeros the quadratic will have.</p>
</div>
<div class="w3-container">
<div class="w3-panel w3-border-green w3-leftbar w3-topbar">
<h3>Discriminant of a Quadratic Function</h3>
<p>\(f(x)=ax^2+bx+c\) has a discriminant of \(b^2-4ac\)</p>
</div>
<button onclick="startFresh()" class="start" id="startFresh">Start</button><button onclick="debug()" style="visibility: hidden">Debug</button><button onclick="check()" class="next" id="check" style="visibility: hidden;">Check Answer</button><button onclick="nextProb()" class="next" id="nextProb" style="visibility: hidden;">Next Problem</button>
<div><br/></div>
<div id="newScores" class="scoreGrid">
<div class="scoreCard">
<span class="scoreText">CORRECT:</span>
<br /><span class="scoreText" id="correct">0</span>
</div>
<div class="scoreCard">
<span class="scoreText">GUESSES:</span>
<br /><span class="scoreText" id="guesses">0</span>
</div>
<div class="scoreCard">
<span class="scoreText">PERCENT:</span>
<br /><span class="scoreText" id="percent">0</span>
</div>
</div>
<div id="result"><h2> </h2></div>
<div id="problem"><h2> </h2></div>
<br />
Discriminant: <input id="discrim" style="visibility: hidden; width: 100px">
<br />
<br />
Number of Zeros: <input id="numZeros" style="visibility: hidden; width: 70px">
<br /><br />
<br /><br />
</div>
</body>
</html>