Skip to content

Commit da16b86

Browse files
committed
Add uniform circular motion, fix streamlit dockerfile, make normalize script runnable with uv,
1 parent 6882f15 commit da16b86

File tree

7 files changed

+77
-9
lines changed

7 files changed

+77
-9
lines changed

Dockerfile-streamlit

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
1-
FROM python:3.9-slim
1+
FROM python:3.10-bullseye
22

33
WORKDIR /app
44

5-
RUN apt-get update && apt-get install -y \
6-
build-essential \
7-
curl \
8-
software-properties-common \
9-
git \
10-
&& rm -rf /var/lib/apt/lists/*
115

12-
RUN pip install streamlit
6+
RUN pip install uv
7+
RUN uv pip install --system streamlit
138

149
EXPOSE 8501
1510

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
title: Uniform Circular Motion
3+
description: "Key formulas for motion at constant speed along a circle"
4+
summary: "Centripetal acceleration, centripetal force, tangential speed, angular frequency, angle vs. time, and period for uniform circular motion"
5+
tags: ["physics", "mechanics"]
6+
date: 2025-11-01
7+
latex: "a_c = \\frac{v^2}{r} = \\omega^2 r"
8+
---
9+
10+
{{< katex >}}
11+
12+
Uniform circular motion describes an object moving at constant speed along a circular path of radius \\( r \\). The direction of the velocity continuously changes, producing a radial (centripetal) acceleration toward the center, and the tangential acceleration is zero.
13+
14+
$$ a_c = \frac{v^2}{r} = \omega^2 r $$
15+
16+
Where
17+
18+
* \\( \small a_c \\) is the centripetal (radial) acceleration,
19+
* \\( \small v \\) is the tangential speed,
20+
* \\( \small r \\) is the radius of the circular path,
21+
* \\( \small \omega \\) is the angular frequency,
22+
* \\( \small m \\) is the mass,
23+
* \\( \small \theta \\) is the angular position,
24+
* \\( \small T \\) is the period (time for one revolution),
25+
* \\( \small f \\) is the frequency, and
26+
* \\( \small s \\) is the arc length along the path.
27+
28+
## Related relationships
29+
30+
- Tangential (linear) speed:
31+
32+
$$ v = \omega r $$
33+
34+
- Angular position as a function of time (constant \\( \omega \\)):
35+
36+
$$ \theta(t) = \theta_0 + \omega t $$
37+
38+
- Period and frequency:
39+
40+
$$ T = \frac{2\pi}{\omega}, \quad f = \frac{1}{T}, \quad \omega = 2\pi f $$
41+
42+
- Arc length and angle:
43+
44+
$$ s = r\theta $$
45+
46+
-- Centripetal force (net radial force required for the circular path):
47+
48+
$$ F_c = ma_c = m\frac{v^2}{r} = m\\omega^2 r $$
49+
50+
## Sources
51+
52+
- [Wikipedia](https://en.wikipedia.org/wiki/Circular_motion)
46.5 KB
Loading

docker-compose.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
version: '3'
21
services:
32
hugo:
43
build: .

normalize_preview_imgs.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
1+
# /// script
2+
# requires-python = ">=3.12"
3+
# dependencies = [
4+
# "pillow",
5+
# ]
6+
# ///
17
"""
28
Script that corrects all of the preview pngs in the content/formulas directory
39
so that they fit within the open-graph preview properly.
10+
11+
uv run normalize_preview_imgs.py
412
"""
513

614
import os

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[project]
2+
name = "stemformulas-github-io"
3+
version = "0.1.0"
4+
description = "Add your description here"
5+
readme = "README.md"
6+
requires-python = ">=3.12"
7+
dependencies = []

uv.lock

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)