Skip to content

Commit

Permalink
Add special relativity update LaTeX code label displays
Browse files Browse the repository at this point in the history
  • Loading branch information
pauld0051 committed Jan 20, 2024
1 parent c6ae9f3 commit d17bd3e
Show file tree
Hide file tree
Showing 7 changed files with 354 additions and 37 deletions.
1 change: 1 addition & 0 deletions header.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
<li><a class="dropdown-item" href="physics_A2_forces_and_momentum.html"><strong>A2</strong> Forces and Momentum</a></li>
<li><a class="dropdown-item" href="physics_A3_work_energy_power.html"><strong>A3</strong> Work, Energy and Power</a></li>
<li><a class="dropdown-item" href="physics_A4_rigid_body_mechanics.html"><strong>A4</strong> Rigid Body Mechanics</a></li>
<li><a class="dropdown-item" href="physics_A5_special_relativity.html"><strong>A5</strong> Special Relativity</a></li>
</li>
</ul> <!-- End of Physics A -->
<div class="dropdown-divider"></div>
Expand Down
8 changes: 4 additions & 4 deletions physics_A1_kinematics.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ <h3>A.1 Kinematic Equations - LaTeX</h3>
</button>
<div class="copied-overlay">Copied!</div>
<!-- Display as normal text -->
<label>\ (s = \frac{u + v}{2} \cdot t\)</label>
<label><code>s = \frac{u + v}{2} \cdot t</code></label>
</div>

<!-- Second Equation -->
Expand All @@ -74,7 +74,7 @@ <h3>A.1 Kinematic Equations - LaTeX</h3>
</button>
<div class="copied-overlay">Copied!</div>
<!-- Display as normal text -->
<label>\ ( v = u + at \)</label>
<label><code>v = u + at</code></label>
</div>

<!-- Third Equation -->
Expand All @@ -84,7 +84,7 @@ <h3>A.1 Kinematic Equations - LaTeX</h3>
</button>
<div class="copied-overlay">Copied!</div>
<!-- Display as normal text -->
<label>\ ( s = ut + \frac{1}{2}at^2 \)</label>
<label><code>s = ut + \frac{1}{2}at^2</code></label>
</div>

<!-- Fourth Equation -->
Expand All @@ -94,7 +94,7 @@ <h3>A.1 Kinematic Equations - LaTeX</h3>
</button>
<div class="copied-overlay">Copied!</div>
<!-- Display as normal text -->
<label>\ (v^2 = u^2 + 2as \)</label>
<label><code>v^2 = u^2 + 2as</code></label>
</div>
</section>

Expand Down
22 changes: 11 additions & 11 deletions physics_A2_forces_and_momentum.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ <h3>A.2 Force and Momentum Equations - LaTeX</h3>
\( F_{f} \leq \mu_{s} F_{N} \)
</button>
<div class="copied-overlay">Copied!</div>
<label>\ ( F_{f} \leq \mu_{s} F_{N} \)</label>
<label><code>F_{f} \leq \mu_{s} F_{N}</code></label>
</div>

<!-- Second Equation -->
Expand All @@ -71,7 +71,7 @@ <h3>A.2 Force and Momentum Equations - LaTeX</h3>
\( F_{f} = \mu_{k} F_{N} \)
</button>
<div class="copied-overlay">Copied!</div>
<label>\ ( F_{f} = \mu_{k} F_{N} \)</label>
<label><code>F_{f} = \mu_{k} F_{N}</code></label>
</div>

<!-- Third Equation -->
Expand All @@ -80,7 +80,7 @@ <h3>A.2 Force and Momentum Equations - LaTeX</h3>
\( F_{H} = -kx \)
</button>
<div class="copied-overlay">Copied!</div>
<label>\ ( F_{H} = -kx \)</label>
<label><code>F_{H} = -kx</code></label>
</div>

<!-- Drag Force Equation -->
Expand All @@ -89,7 +89,7 @@ <h3>A.2 Force and Momentum Equations - LaTeX</h3>
\( F_{d} = 6\pi\eta rv \)
</button>
<div class="copied-overlay">Copied!</div>
<label>\ ( F_{d} = 6\pi\eta rv \)</label>
<label><code>F_{d} = 6\pi\eta rv</code></label>
</div>

<!-- Buoyant Force Equation -->
Expand All @@ -98,7 +98,7 @@ <h3>A.2 Force and Momentum Equations - LaTeX</h3>
\( F_{b} = \rho Vg \)
</button>
<div class="copied-overlay">Copied!</div>
<label>\ ( F_{b} = \rho Vg \)</label>
<label><code>F_{b} = \rho Vg</code></label>
</div>

<!-- Gravitational Force Equation -->
Expand All @@ -107,7 +107,7 @@ <h3>A.2 Force and Momentum Equations - LaTeX</h3>
\( F_{g} = mg \)
</button>
<div class="copied-overlay">Copied!</div>
<label>\ ( F_{g} = mg \)</label>
<label><code>F_{g} = mg</code></label>
</div>

<!-- Momentum Equation -->
Expand All @@ -116,7 +116,7 @@ <h3>A.2 Force and Momentum Equations - LaTeX</h3>
\( p = mv \)
</button>
<div class="copied-overlay">Copied!</div>
<label>\ ( p = mv \)</label>
<label><code>p = mv</code></label>
</div>

<!-- Impulse Equation -->
Expand All @@ -125,7 +125,7 @@ <h3>A.2 Force and Momentum Equations - LaTeX</h3>
\( J = F\Delta t \)
</button>
<div class="copied-overlay">Copied!</div>
<label>\ ( J = F\Delta t \)</label>
<label><code>J = F\Delta t</code></label>
</div>

<!-- Newton's Second Law Equation -->
Expand All @@ -134,7 +134,7 @@ <h3>A.2 Force and Momentum Equations - LaTeX</h3>
\( F = ma = \frac{\Delta p}{\Delta t} \)
</button>
<div class="copied-overlay">Copied!</div>
<label>\ ( F = ma = \frac{\Delta p}{\Delta t} \)</label>
<label><code>F = ma = \frac{\Delta p}{\Delta t}</code></label>
</div>

<!-- Circular Motion Acceleration Equation -->
Expand All @@ -143,7 +143,7 @@ <h3>A.2 Force and Momentum Equations - LaTeX</h3>
\( a = \frac{v^2}{r} = \omega^2 r = \frac{4\pi^2 r}{T^2} \)
</button>
<div class="copied-overlay">Copied!</div>
<label>\ ( a = \frac{v^2}{r} = \omega^2 r = \frac{4\pi^2 r}{T^2} \)</label>
<label><code>a = \frac{v^2}{r} = \omega^2 r = \frac{4\pi^2 r}{T^2}</code></label>
</div>

<!-- Circular Motion Velocity Equation -->
Expand All @@ -152,7 +152,7 @@ <h3>A.2 Force and Momentum Equations - LaTeX</h3>
\( v = \frac{2\pi r}{T} = \omega r \)
</button>
<div class="copied-overlay">Copied!</div>
<label>\ ( v = \frac{2\pi r}{T} = \omega r \)</label>
<label><code>v = \frac{2\pi r}{T} = \omega r</code></label>
</div>
</section>
<section>
Expand Down
14 changes: 7 additions & 7 deletions physics_A3_work_energy_power.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,23 +63,23 @@ <h3>A.3 Work, Energy and Power Equations - LaTeX</h3>
\( W = Fs\cos\theta \)
</button>
<div class="copied-overlay">Copied!</div>
<label>\ ( W = Fs\cos\theta \)</label>
<label><code>W = Fs\cos\theta</code></label>
</div>
<!-- Kinetic Energy Equation -->
<div class="symbol-container">
<button class="symbol-btn" data-symbol="E_k = \frac{1}{2}mv^2 = \frac{p^2}{2m}">
\( E_k = \frac{1}{2}mv^2 = \frac{p^2}{2m} \)
</button>
<div class="copied-overlay">Copied!</div>
<label>\ ( E_k = \frac{1}{2}mv^2 = \frac{p^2}{2m} \)</label>
<label><code>E_k = \frac{1}{2}mv^2 = \frac{p^2}{2m}</code></label>
</div>
<!-- Potential Energy Equation -->
<div class="symbol-container">
<button class="symbol-btn" data-symbol="\Delta E_p = mg\Delta h">
\( \Delta E_p = mg\Delta h \)
</button>
<div class="copied-overlay">Copied!</div>
<label>\ ( \Delta E_p = mg\Delta h \)</label>
<label><code>\Delta E_p = mg\Delta h</code></label>
</div>

<!-- Elastic Potential Energy Equation -->
Expand All @@ -88,7 +88,7 @@ <h3>A.3 Work, Energy and Power Equations - LaTeX</h3>
\( E_H = \frac{1}{2} k \Delta x^2 \)
</button>
<div class="copied-overlay">Copied!</div>
<label>\ ( E_H = \frac{1}{2} k \Delta x^2 \)</label>
<label><code>E_H = \frac{1}{2} k \Delta x^2</code></label>
</div>

<!-- Power as Work over Time Equation -->
Expand All @@ -97,7 +97,7 @@ <h3>A.3 Work, Energy and Power Equations - LaTeX</h3>
\( P = \frac{\Delta W}{\Delta t} \)
</button>
<div class="copied-overlay">Copied!</div>
<label>\ ( P = \frac{\Delta W}{\Delta t} \)</label>
<label><code>P = \frac{\Delta W}{\Delta t}</code></label>
</div>

<!-- Power as Force times Velocity Equation -->
Expand All @@ -106,7 +106,7 @@ <h3>A.3 Work, Energy and Power Equations - LaTeX</h3>
\( P = Fv \)
</button>
<div class="copied-overlay">Copied!</div>
<label>\ ( P = Fv \)</label>
<label><code>P = Fv</code></label>
</div>

<!-- Efficiency Equation -->
Expand All @@ -116,7 +116,7 @@ <h3>A.3 Work, Energy and Power Equations - LaTeX</h3>
\( \eta = \frac{E_{\text{output}}}{E_{\text{input}}} = \frac{P_{\text{output}}}{P_{\text{input}}} \)
</button>
<div class="copied-overlay">Copied!</div>
<label>\ ( \eta = \frac{E_{\text{output}}}{E_{\text{input}}} = \frac{P_{\text{output}}}{P_{\text{input}}} \)</label>
<label><code>\eta = \frac{E_{\text{output}}}{E_{\text{input}}} = \frac{P_{\text{output}}}{P_{\text{input}}}</code></label>
</div>

</section>
Expand Down
22 changes: 11 additions & 11 deletions physics_A4_rigid_body_mechanics.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,23 +62,23 @@ <h3>A.3 Work, Energy and Power Equations - LaTeX</h3>
\( \tau = Fr\sin(\theta) \)
</button>
<div class="copied-overlay">Copied!</div>
<label>\ ( \tau = Fr\sin(\theta) \)</label>
<label><code>\tau = Fr\sin(\theta)</code></label>
</div>

<div class="symbol-container">
<button class="symbol-btn" data-symbol="\Delta \theta = \frac{\omega_i + \omega_f}{2}t">
\( \Delta \theta = \frac{\omega_i + \omega_f}{2}t \)
</button>
<div class="copied-overlay">Copied!</div>
<label>\ ( \Delta \theta = \frac{\omega_i + \omega_f}{2} \)</label>
<label><code>\Delta \theta = \frac{\omega_i + \omega_f}{2}</code></label>
</div>

<div class="symbol-container">
<button class="symbol-btn" data-symbol="\omega_f = \omega_i + \alpha t">
\( \omega_f = \omega_i + \alpha t \)
</button>
<div class="copied-overlay">Copied!</div>
<label>\ ( \omega_f = \omega_i + \alpha t \)</label>
<label><code>\omega_f = \omega_i + \alpha t</code></label>
</div>

<!-- Angular Displacement -->
Expand All @@ -87,7 +87,7 @@ <h3>A.3 Work, Energy and Power Equations - LaTeX</h3>
\( \Delta\theta = \omega_{i}t + \frac{1}{2}at^2 \)
</button>
<div class="copied-overlay">Copied!</div>
<label>\ ( \Delta\theta = \omega_{i}t + \frac{1}{2}at^2 \)</label>
<label><code>\Delta\theta = \omega_{i}t + \frac{1}{2}at^2</code></label>
</div>

<!-- Final Angular Velocity Squared -->
Expand All @@ -96,7 +96,7 @@ <h3>A.3 Work, Energy and Power Equations - LaTeX</h3>
\( \omega_{f}^2 = \omega_{i}^2 + 2a\Delta\theta \)
</button>
<div class="copied-overlay">Copied!</div>
<label>\ ( \omega_{f}^2 = \omega_{i}^2 + 2a\Delta\theta \)</label>
<label><code>\omega_{f}^2 = \omega_{i}^2 + 2a\Delta\theta</code></label>
</div>

<!-- Moment of Inertia -->
Expand All @@ -105,7 +105,7 @@ <h3>A.3 Work, Energy and Power Equations - LaTeX</h3>
\( I = \Sigma mr^2 \)
</button>
<div class="copied-overlay">Copied!</div>
<label>\ ( I = \Sigma mr^2 \)</label>
<label><code>I = \Sigma mr^2</code></label>
</div>

<!-- Torque as Moment of Inertia times Angular Acceleration -->
Expand All @@ -114,7 +114,7 @@ <h3>A.3 Work, Energy and Power Equations - LaTeX</h3>
\( \tau = I\alpha \)
</button>
<div class="copied-overlay">Copied!</div>
<label>\ ( \tau = I\alpha \)</label>
<label><code>\tau = I\alpha</code></label>
</div>

<!-- L Equation -->
Expand All @@ -123,7 +123,7 @@ <h3>A.3 Work, Energy and Power Equations - LaTeX</h3>
\( L = I\omega \)
</button>
<div class="copied-overlay">Copied!</div>
<label>\ ( L = I\omega \)</label>
<label><code>L = I\omega</code></label>
</div>

<!-- Delta L (tau delta t) Equation -->
Expand All @@ -132,7 +132,7 @@ <h3>A.3 Work, Energy and Power Equations - LaTeX</h3>
\( \Delta L = \tau \Delta t \)
</button>
<div class="copied-overlay">Copied!</div>
<label>\ ( \Delta L = \tau \Delta t \)</label>
<label><code>\Delta L = \tau \Delta t</code></label>
</div>

<!-- Delta L (Delta I omega) Equation -->
Expand All @@ -141,7 +141,7 @@ <h3>A.3 Work, Energy and Power Equations - LaTeX</h3>
\( \Delta L = \Delta (I\omega) \)
</button>
<div class="copied-overlay">Copied!</div>
<label>\ ( \Delta L = \Delta (I\omega) \)</label>
<label><code>\Delta L = \Delta (I\omega)</code></label>
</div>

<!-- Kinetic Energy of Rotation Equation -->
Expand All @@ -150,7 +150,7 @@ <h3>A.3 Work, Energy and Power Equations - LaTeX</h3>
\( E_k = \frac{1}{2}I\omega^2 = \frac{L^2}{2I} \)
</button>
<div class="copied-overlay">Copied!</div>
<label>\ ( E_k = \frac{1}{2}I\omega^2 = \frac{L^2}{2I} \)</label>
<label><code>E_k = \frac{1}{2}I\omega^2 = \frac{L^2}{2I}</code></label>
</div>
</section>

Expand Down
Loading

0 comments on commit d17bd3e

Please sign in to comment.