-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathipowers.html
More file actions
144 lines (137 loc) · 7.19 KB
/
ipowers.html
File metadata and controls
144 lines (137 loc) · 7.19 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Powers of Complex Numbers</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="ipowers.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>Powers of Complex Numbers</h2>
<p>Click START to generate a problem. Then simplify the problem using your knowledge of the powers of i.</p>
<div class="w3-panel w3-border-green w3-leftbar w3-topbar">
<h3>Powers of i</h3>
<ul>
<li>\(i^1 = i\)</li>
<li>\(i^2 = -1\)</li>
<li>\(i^3 = -i\)</li>
<li>\(i^4 = 1\)</li>
</ul>
<p>For higher powers, the pattern repeats.</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 style="color: darkgreen;">--</h2></div>
<div id="problem">Problem will display here</div>
<br />
<label for="answerInput">Type Answer Here:</label>
<input name="answerInput" id="answerInput"/>
<br /><br />
<div class="w3-panel w3-border-green w3-leftbar w3-topbar">
<h3>Complex Number Operations</h3>
<p>Remember that imaginary numbers can only be added with other imaginary numbers. For example, \(3i+5i=8i\), but \(3i+5=3i+5\).</p>
</div>
<button onclick="startFresh3()" class="start" id="startFresh3">Start</button
><button onclick="debug3()" style="visibility: hidden">Debug</button
><button onclick="check3()" class="next" id="check3" style="visibility: hidden">Check Answer</button
><button onclick="nextProb3()" class="next" id="nextProb3" style="visibility: hidden">Next Problem</button>
<div><br /></div>
<div id="newScores3" class="scoreGrid">
<div class="scoreCard">
<span class="scoreText">CORRECT:</span>
<br /><span class="scoreText" id="correct3">0</span>
</div>
<div class="scoreCard">
<span class="scoreText">GUESSES:</span>
<br /><span class="scoreText" id="guesses3">0</span>
</div>
<div class="scoreCard">
<span class="scoreText">PERCENT:</span>
<br /><span class="scoreText" id="percent3">0</span>
</div>
</div>
<div id="result3"><h2 style="color: darkgreen;">--</h2></div>
<div id="problem3">Problem will display here</div>
<br />
<label for="answerInput3">Type Answer Here:</label>
<input name="answerInput3" id="answerInput3"/>
<br /><br />
<div class="w3-panel w3-border-green w3-leftbar w3-topbar">
<h3>Powers of Complex Numbers</h3>
<ul>
<li>\(i^1 = i\)</li>
<li>\(i^2 = -1\)</li>
<li>\(i^3 = -i\)</li>
<li>\(i^4 = 1\)</li>
</ul>
<p>For higher powers, the pattern repeats.</p>
<p><b>Binomial Coefficients for \((x+y)^n\)</b></p>
<img src="Images/pascal.jpg" height="175px"/>
</div>
<button onclick="startFresh2()" class="start" id="startFresh2">Start</button
><button onclick="debug2()" style="visibility: hidden">Debug</button
><button onclick="check2()" class="next" id="check2" style="visibility: hidden">Check Answer</button
><button onclick="nextProb2()" class="next" id="nextProb2" style="visibility: hidden">Next Problem</button>
<div><br /></div>
<div id="newScores2" class="scoreGrid">
<div class="scoreCard">
<span class="scoreText">CORRECT:</span>
<br /><span class="scoreText" id="correct2">0</span>
</div>
<div class="scoreCard">
<span class="scoreText">GUESSES:</span>
<br /><span class="scoreText" id="guesses2">0</span>
</div>
<div class="scoreCard">
<span class="scoreText">PERCENT:</span>
<br /><span class="scoreText" id="percent2">0</span>
</div>
</div>
<div id="result2"><h2 style="color: darkgreen;">--</h2></div>
<div id="problem2">Problem will display here</div>
<br />
<label for="answerInput2">Type Answer Here:</label>
<input name="answerInput2" id="answerInput2"/>
<br /><br />
</div>
</body>
</html>