What You Need
Simple Classroom Setup
Use a desktop or laptop browser, a webcam, one pendulum bob with a red marker, and a quiet background with steady lighting.
Physics Laboratory
Browser Oscillation Lab
Phys Lab helps students run rope-pendulum and spring-pendulum experiments with a webcam, one red marker, and guided investigation modes.
Choose an experiment, enter the required setup values, align the camera, record a run, review the measured frequency, and save only the runs you trust.
What You Need
Use a desktop or laptop browser, a webcam, one pendulum bob with a red marker, and a quiet background with steady lighting.
What You Measure
The live view shows a provisional reading during capture, then the stopped run is reviewed and reduced to a final frequency before saving.
Investigation Modes
Test mass independence for the rope pendulum, the rope length law, or the spring-mass frequency law while the app reminds you which setup variable should stay fixed.
Overview
The page is organized around the same sequence you follow in class: prepare the setup, capture motion, review the result, and compare saved runs.
Core Task
Before You Record
Choose The Right Mode
Mass Independence: hold length fixed, vary massLength Law: hold mass fixed, vary lengthSpring Pendulum: keep the spring fixed, vary mass, and measure vertical motionLive Lab
The workspace below follows the normal lab order: choose the investigation, enter the setup values, enable the camera, capture the motion, review the final measurement, then save the run for comparison.
Experiment Mode
Hold pendulum length fixed, vary bob mass, and compare the saved frequencies.
Controlled Variable
Length
What Changes
Mass
Session warnings will fire if saved runs in this mode use inconsistent lengths.
Draft changes save locally as you edit.
Camera Stage
Red-marker tracking view
Enable the webcam, place the red pendulum marker in frame, and align the motion to move mostly left-to-right on screen. The overlay will mark the detected bob and the current horizontal analysis axis.
Run State
Camera off
Marker
Waiting for preview
Horizontal Axis
No signal
Live Frequency
Awaiting run
Current Capture
Current Mode
Mass Independence
Draft Mass
Not set
Draft Length
Not set
Stopped Run Estimate
Awaiting captured run
Run Duration
0.0 s
Valid Samples
0
Tracking Quality
No capture yet
Start a run to capture the horizontal marker signal. The live estimate is provisional during capture, then the stopped run is re-evaluated with Prony analysis before it can be saved.
Primary Prony Mode
Stop a run to prepare the signal, fit Prony modes, and select the strongest stable candidate as the final frequency estimate.
Review Decision
Stopped runs stay in review until you either keep them in the current session or discard them.
| Rank | Frequency | Period | Amplitude | Damping | Status |
|---|---|---|---|---|---|
| No Prony candidates yet. | |||||
Session State
Stored Modes
2
Current Draft
0 / 2 fields
Saved Runs
0
Active Mode
0 runs
Save reviewed runs to compare frequency against the varying setup variable in the current experiment mode.
| Run | Time | Mass | Length | Frequency | Quality | Action |
|---|
Lab Manual
Six classroom investigations connect the live measurement tool to the oscillator models. Current app modes are marked as live; planned spring extensions are documented first so the theory is ready before the controls expand.
Shared Setup
Core Models
Current App Mode
Keep the pendulum length fixed, change bob mass, and test whether measured frequency stays approximately constant.
lm| Mass (g) | Length (m) | Frequency (Hz) |
|---|---|---|
| 50 | 0.750 | |
| 100 | 0.750 | |
| 150 | 0.750 |
Current App Mode
Keep mass fixed, vary pendulum length, and show that longer pendulums oscillate more slowly.
mlf against 1 / sqrt(l).| Length (m) | 1/sqrt(l) | Frequency (Hz) |
|---|---|---|
| 0.400 | ||
| 0.600 | ||
| 0.800 |
Current App Mode
Use the same spring, change attached mass, and measure how vertical oscillation frequency changes.
km| Mass (g) | k (N/m) | Frequency (Hz) |
|---|---|---|
| 50 | 5.0 | |
| 100 | 5.0 | |
| 150 | 5.0 |
Documentation First
Estimate spring stiffness from static extension before using k in dynamic
oscillation predictions.
k from the slope of force versus extension.| Mass (kg) | Force (N) | Extension (m) | k (N/m) |
|---|---|---|---|
| 0.050 | |||
| 0.100 | |||
| 0.150 |
k.Documentation First
Mount two springs side by side so their forces add at the same extension.
k1 and k2.k1 + k2.| k1 | k2 | Predicted k* | Measured k* |
|---|---|---|---|
Documentation First
Connect two springs end to end so the same force stretches both and extensions add.
k1 and k2.| k1 | k2 | Predicted k* | Measured k* |
|---|---|---|---|
Quick Start
Follow these four steps in order when you open the lab for the first time.
Step 1
Attach the red marker, position the camera perpendicular to the motion, keep the background calm, and start either a small rope swing or a small vertical spring oscillation.
Step 2
Select Mass Independence, Length Law, or Spring Pendulum, then enter the
current mass and the required setup parameter before you start the run.
Step 3
Enable the camera, start the run, stop it after several oscillations, and inspect the final measured frequency before deciding whether to keep it.
Step 4
Save accepted runs into the current mode, compare them on the chart, and export the session if you need to keep the data outside the browser.