Projectile Motion Lab

Projectile Motion Lab

Compare a drag-free analytic path with a chosen numerical drag model, then inspect how the impact changes when the integration interval is halved twice.

2D point mass; flat ground at y=0; constant gravity and effective drag; no wind, lift, spin, thrust or varying air density. Educational approximation only—never a safety or professional design result.

1. Set initial conditions

All values use SI units. Valid ranges: speed 0–120 m/s, angle −90° to 90°, height 0–500 m, gravity 1–30 m/s², step 0.05–0.5 s, drag beta >0–0.05 m⁻¹. Flights beyond 180 s are rejected.

Quadratic model: ax = −beta·|v|·vx, ay = −g − beta·|v|·vy. Beta = rho·Cd·A/(2m) only if these physical properties remain constant. No object properties are inferred.

Worked example is ready; adjust values and run again.

2. Compare results and interval refinement

The selected blue numerical path is compared with a no-drag analytic baseline. Peak height in the numerical model is the largest sampled value and may miss the exact apex.

Flight time3.549 s
Horizontal range55.054 m
Peak height16.414 m

No-drag analytic baseline

Flight 3.714 s · range 65.651 m · peak 17.928 m

RK4 with drag off versus analytic impact: time difference 0.002584 s, range difference 0.045682 m. This checks numerical implementation, not drag accuracy.

Observed time-step comparison

Fixed-step RK4 runs with dt, dt/2 and dt/4. Ground impact is linearly interpolated, which can dominate the difference. Smaller adjacent differences are evidence of numerical refinement, not a proof of physical accuracy.

IntervalFlight timeHorizontal range
0.2 s3.548898 s55.054468 m
0.1 s3.550148 s55.074513 m
0.05 s3.550746 s55.08413 m

Adjacent differences, range: 0.020044 → 0.009617 m; time: 0.00125 → 0.000598 s. Both adjacent differences decreased or stayed within a 5% rounding margin.

3. Explore motion through time

Blue is the numerical run; dashed gray is the analytic vacuum baseline. The amber dot marks the selected numerical sample. Scrub or play without changing the calculation.

Numerical modelAnalytic vacuumSelected sample

Trajectory: height by horizontal distance

Horizontal distance (m): 0–65.65Height (m): 0–17.93

Height by time

Time (s): 0–3.71Height (m): 0–17.93

Horizontal distance by time

Time (s): 0–3.71Horizontal distance (m): 0–65.65

t=0 s · x=0 m · y=2 m · vx=17.678 m/s · vy=17.678 m/s · speed=25 m/s

4. Inspect and export samples

A short landmark table is shown here. CSV and JSON include every numerical sample, including interpolated impact.

t (s)x (m)y (m)vx (m/s)vy (m/s)|v| (m/s)
00217.67817.67825
0.46.9388.16317.03313.17921.536
116.91514.14416.2576.82317.63
1.423.3316.05915.8262.7716.067
1.829.58116.37415.434-1.17415.478
2.235.67915.13215.053-5.02115.869
2.844.53510.43614.459-10.58917.922
3.250.2345.48614.029-14.13819.917
3.54955.054013.625-17.121.865

The JSON includes inputs, assumptions, analytic results, interval comparison and all numerical samples. The SVG is a static drawing of the trajectory. Files remain local.

Comments & questions

Projectile Motion Lab

Explore 2D point-mass motion from an initial height to flat ground. A drag-free analytic solution supplies a baseline. A fixed-step RK4 solver applies an explicitly chosen constant effective quadratic-drag coefficient, then reruns with half and quarter time steps so you can inspect the observed numerical change. Scrub position through time and export the sampled trajectory. This is an educational model, not a certified launch or safety calculation.

Key features

  • Vacuum analytic flight time, range and peak from the same initial conditions
  • Quadratic-drag numerical path using fixed-step fourth-order Runge–Kutta integration
  • Time-step, half-step and quarter-step impact comparison plus vacuum numerical error
  • Interactive trajectory, height-vs-time and distance-vs-time graphs with a scrubber
  • Time, position and velocity sample table; local CSV, report JSON and SVG downloads
  • Explicit SI units, model assumptions and bounded input/horizon errors

How to use

  1. Start with the example or enter SI speed, launch angle, initial height and gravity.
  2. Choose no drag or effective quadratic drag, set its per-meter coefficient and a numerical time step.
  3. Run the model to compare the analytic vacuum baseline with the numerical outcome and impact metrics.
  4. Inspect the three time-step results and scrub or play through position and velocity samples.
  5. Download all computed samples as CSV, a JSON report, or the trajectory drawing as SVG.

Use cases

  • See how a chosen drag assumption changes a classroom projectile trajectory
  • Study the effect of halving a numerical integration interval on impact estimates
  • Inspect velocity and height over time before documenting a simple model

Frequently asked questions

What does the drag coefficient mean?

The effective beta has units m⁻¹ and gives acceleration −beta·|v|·v, with v in m/s. Under constant air density, drag coefficient, reference area and mass, beta equals rho·Cd·A/(2m). You enter beta directly; the app does not infer a physical object's properties.

What assumptions are made?

The model is a two-dimensional point mass over flat ground y=0 with constant gravity, constant effective drag, no wind, thrust, lift, spin, terrain or varying air density. The no-drag path is an analytic reference for those conditions only.

Is this an exact solution with air resistance?

No. Drag motion is approximated by fixed-step fourth-order Runge–Kutta. Impact is interpolated linearly between the last two samples. The table shows dt, dt/2 and dt/4 estimates; a decreasing difference supports but does not prove convergence or physical accuracy.

Why can a run be rejected?

Inputs outside the documented SI ranges, a time step too coarse for the selected drag, non-finite values, or a flight longer than the 180-second horizon are rejected. Reduce the step or model range; no result is silently truncated.

What is the difference between the blue and dashed paths?

Blue is the selected numerical model. The gray dashed path is the drag-free analytic trajectory from the same speed, angle, height and gravity. When drag is off the paths overlap except near interpolated impact.

Can I use these numbers for equipment design or safety?

No. The model omits wind, rotation, lift, changing atmospheric density and many object-specific effects. Numerical agreement between time steps is not a validation of the assumptions or a professional design assurance.

Privacy

All calculations are performed in the current browser tab. CSV, JSON and SVG are generated only when you download them. No project data is uploaded or persistently stored.

Related Tools

Geometry Construction LabUnit ConverterAlgebra Balance LabKakuro StudioFunction Graph WorkbenchAudio ABX Blind TestCard Sort StudyEvent Run of ShowChecklist RunnerKanban Project BoardMind Map WorkbenchArgument Map EditorTeam Skill MatrixCorpus ConcordancerTerminology Glossary ManagerCloze Worksheet MakerSliding Tile PuzzleReversi BoardNonogram StudioMinesweeper LabTangram StudioCrossword BuilderWord Ladder GameWord Search StudioAnagram Word GameConnect Four BoardAttribute Trio PuzzleMaze WorkbenchNumber Merge GameLogic Grid Puzzle MakerLights Out PuzzlePeg Solitaire BoardArithmetic Cage PuzzleSudoku StudioChess Tactics BoardEtymology Map ExplorerPronunciation Comparison StudioReading PacerPhonetic Transcription LabProbability Experiment LabPeriodic Trend LabPhonics Word BuilderSpaced Repetition CardsService Blueprint DesignerOrganization Chart EditorProject Risk RegisterHabit Progress TrackerProcess Swimlane DesignerResource Capacity SchedulerInventory Movement LedgerRanked Ballot CounterUsability Task RunnerRequirements TraceabilitySentence Structure LabTranslation Memory WorkbenchDictation PracticeFraction ManipulativesMolecule Structure ViewerGantt Dependency PlannerWeighted Decision MatrixRound Robin SchedulerMental age test · everyday attitude themesPast-life story test27-question Enneagram explorerKorean initials quizFocus Games · Numbers and Ink ColorsColor vision reference platesPitch Recognition PracticeNumber Memory PracticeMoving Target RecognitionScoreboardBingo Card GeneratorTruth or DareQuote of the DayPreference Tournament MakerRock Paper ScissorsRandom Seating PlanRandom Nickname GeneratorRandom Conversation QuestionsMouse TestTouchscreen TestMonitor TestRefresh Rate EstimateScreen and Display InformationKorean Business Number CheckLotto GeneratorLadder GameCompatibility CheckerRandom GeneratorPassword GeneratorMy IP AddressLunch PickerSpin the WheelMetronomeReaction Time TestBalance Game (Would You Rather)Personality Type TestDream DictionaryKeyboard Test
Explore all Life/Fun tools →Image/Media →Text/Convert →Dev Tools →