-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
44 lines (44 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
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8" name="viewport" content="width=device-width, initial-scale=1.0" http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="icon" href="math.ico" type="image/x-icon">
<title>Euler's Method Calculator</title>
<h1>Euler's Method</h1>
<head>The Euler's Method is a technique that is used to approximate differential equations numerically.</head>
<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=Poppins:wght@300&family=Roboto+Condensed:wght@300&family=Rubik:ital@1&display=swap" rel="stylesheet">
<script type="module" defer src="index.js"></script>
<script src="math.js" type="text/javascript"></script>
<script src="math.min.js" type="text/javascript"></script>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h2>Pronunciation</h2>
<audio controls>
<source id="audio" src="eulersMethod.mp3" type="audio/mp3">
Your browser does not support the audio element
</audio>
<h2>Calculator</h2>
<div id="calculator">
<form action="#">
<label for="yPrime">y' = f(x,y): </label>
<input class="input" type="text" id="yPrime">
<label for="yPrime">Expression</label><br><br>
<label for="deltaX">Δx: </label>
<input class="input" type="text" id="deltaX">
<label for="deltaX">#</label><br><br>
<label for="known">y(a) = b: </label>
<input class="input" type="text" id="known">
<label for="known">(a, b)</label><br><br>
<label for="desiredVal">y(a): </label>
<input class="input" type="text" id="desiredVal">
<label for="desiredVal">a</label><br><br>
</form>
<button id="solve">Solve!</button>
</div>
<h3>Answer</h2>
<p id="answer"></p>
</body>
</html>