technifyed

Physics + Programming

Simulate projectile motion with air drag in Python

Plot real trajectories with air resistance and compare them with the textbook parabola.

  • DifficultyIntermediate
  • Estimated time1–2 weeks
  • Budget₹0
  • ClassClass 11 to college
  • TeamSolo or up to 2
  • You needComputer only

Prerequisites: Projectile motion equations, basic Python loops and lists

Original · by TechnifyedSimulationSoftware ProjectFree to doComputer onlyWell documentedTwo subjects

My projects

Overview

Textbook projectiles ignore air. Add a drag force proportional to speed squared, step the motion forward in small time intervals, and plot the path. You will see the range shrink and the best launch angle drop below 45 degrees.

Why build this?

It shows where the school formula stops working and teaches the numerical method used in every physics engine and weather model.

What you will learn

  • How to turn Newton's second law into a step-by-step update
  • Why a smaller time step gives a better answer
  • How drag changes range, height and optimum angle
  • How to present results as clear plots

Skills you will use

Numerical integrationPlottingPython

Materials and tools

  • Computer with Python 3
  • NumPy and Matplotlib installed

Tools and software

MatplotlibNumPyPython

Expected cost₹0Nothing to buy
Estimated duration1–2 weeks6 build steps, plus the report

Step-by-step roadmap

  1. Start

    You will finish with: trajectory plots, a range-against-angle graph showing the optimum angle below 45°, and commented code.

  2. 1

    Prerequisites

    Know this first: projectile motion equations, basic Python loops and lists. Then collect the 2 items in the materials list.

  3. 2

    Learn

    • How to turn Newton's second law into a step-by-step update
    • Why a smaller time step gives a better answer
    • How drag changes range, height and optimum angle
    • How to present results as clear plots
  4. 3

    Plan

    List the features for version one, sketch the screens or data flow and pick the tools. Keep the first version small.

  5. 4

    Build

    1. Write a function that computes the no-drag trajectory from the formulas and plot it.
    2. Write a loop that updates velocity and position every 0.01 s using only gravity; check it matches step 1.
    3. Add a drag acceleration of magnitude k × v² opposite to the velocity.
    4. Run the simulation for a cricket ball at several launch angles and record the range.
    5. Plot range against angle with and without drag on the same axes.
    6. Halve the time step and confirm the results barely change.
  6. 5

    Test

    With k set to zero the simulated range must match v² sin 2θ ÷ g to three figures.

  7. 6

    Document

    Write a README: what it does, how to run it, screenshots and what you learned. Report structure

  8. 7

    Present

    Show a live demo of one complete task, then the design and the hardest problem you solved. Presentation structure · Viva questions

  9. 8

    Publish

    Put the code on GitHub with the README and, if you can, deploy a live demo.

Expected outcome

Trajectory plots, a range-against-angle graph showing the optimum angle below 45°, and commented code.

Other versions of this project

Beginner version

Simulate only the no-drag case and check it against the formula.

Advanced version

Add wind and the Magnus force on a spinning ball, and animate the flight.

Research version

Fit the drag constant to slow-motion video of a real shuttlecock and report how well a v² model matches.

No-hardware version

This project needs no hardware.

Portfolio version

Turn it into a small web app with sliders for speed, angle and drag, and publish the code on GitHub.

Make this project better

  1. BasicSimulate only the no-drag case and check it against the formula.
  2. This projectSimulate projectile motion with air drag in Python
  3. AdvancedAdd wind and the Magnus force on a spinning ball, and animate the flight.
  4. ResearchFit the drag constant to slow-motion video of a real shuttlecock and report how well a v² model matches.
  5. PortfolioTurn it into a small web app with sliders for speed, angle and drag, and publish the code on GitHub.

Ways to do this project

Text marked "You write this" is a prompt for your own work; everything else is specific to this project.

Research question
You write thisOne question you can answer with data, narrow enough to finish in the time you have.
Hypothesis
You write thisWhat you expect to find, and why.
Variables
You write thisWhat you change or compare, what you measure, and what you hold constant.
Methodology
Fit the drag constant to slow-motion video of a real shuttlecock and report how well a v² model matches.
Data collection
You write thisSay what you will record, how many times, and how you will keep the records safe.
Analysis
You write thisChoose the table, chart or test that answers the question; report averages with their spread.
Limitations
You write thisList what could have affected the result: small sample, instrument limits, things you could not control.

Literature review

Find five to eight sources (your textbook, review articles, reports) and note what each says about your question. Group them by idea, not one after another, and end with what is still not known.

References

List every source you used in one style throughout (author, year, title, where it was published, link and the date you opened it).

Working as a team

Solo or up to 2. Suggested roles:

FrontendBackendData or modelDesignTestingDocumentationPresentation

Report and presentation

Report structure

  1. Title and summary
  2. Problem and target user
  3. Features
  4. Tools and technology
  5. Design: architecture, data model or screens
  6. Implementation
  7. Testing
  8. Results and screenshots
  9. Challenges
  10. Future improvements
  11. References

Presentation structure

  1. The problem
  2. Who it is for
  3. Live demo
  4. How it is built (one diagram)
  5. The hardest part
  6. Testing and results
  7. What you learned
  8. What comes next

Viva questions

Try answering before you open each one.

What numerical method did you use?

Euler's method: velocity and position are updated using the acceleration over a small time step.

Why does the optimum angle fall below 45°?

A lower launch spends less time in the air, so drag removes less horizontal speed.

How do you know the time step is small enough?

Halving it changes the range by less than 1 percent.

What is k?

A constant combining air density, the drag coefficient and the ball's area and mass.

Resources

Source and attribution

Original

Written by Technifyed. Free to use for your own school or college project; write the report in your own words. Added 1 Oct 2026.

Similar projects

More Physics projects

Physics · Dynamics

Launch a water rocket and predict its range

Build a bottle rocket and find the water volume and angle that give the longest flight.

  • Intermediate
  • 2–7 days
  • 250–500
Working Model · Household materialsView

Physics · Electromagnetism

Electromagnetic braking in a copper pipe

Time a magnet falling through copper, aluminium and plastic pipes and show how eddy currents slow it.

  • Intermediate
  • 2–7 days
  • 250–500
Working Model · Household materialsView

Same tools

Literature and English + Data

Analyse word use in a novel with a computer

Count words and character mentions in a public-domain novel and see what the numbers reveal.

  • Intermediate
  • 1–2 weeks
  • Free
Data Analysis · Computer onlyView

Games, Graphics and New Tech · Blockchain

Build a simple blockchain

Implement blocks, hashes, proof of work and validation to see how a chain resists tampering.

  • Intermediate
  • 1–2 weeks
  • Free
Software Project · Computer onlyView

Two-subject alternatives

Aerospace Engineering + Physics

Make a model wind tunnel and test shapes

Build a small wind tunnel from a fan and straws and compare the drag of different shapes.

  • Intermediate
  • 1–2 weeks
  • 500–1,000
Engineering Design · Household materialsView

Civil Engineering + Earth Science

Design an earthquake-resistant building model

Build a simple shake table and test how bracing and base isolation protect a model tower.

  • Intermediate
  • 1–2 weeks
  • 250–500
Engineering Design · Household materialsView

Aerospace Engineering + Astronomy and Space

Simulate a satellite orbit

Integrate Newton's law of gravity to draw circular, elliptical and escape orbits.

  • Intermediate
  • 1–2 weeks
  • Free
Simulation · Computer onlyView

Games, Graphics and New Tech + Physics

Create a 2D physics sandbox

Simulate bouncing balls with gravity, friction and collisions in the browser.

  • Intermediate
  • 1–2 weeks
  • Free
Simulation · Computer onlyView

Same difficulty and budget

Astronomy and Space + Aerospace Engineering

Design a Mars habitat and justify every choice

Design a base for four astronauts and explain how it provides air, water, food, power and radiation shielding.

  • Intermediate
  • 1–2 weeks
  • Under 250
Engineering Design · Household materialsView

Environmental Science + Applied Mathematics

Estimate the carbon stored by a planting drive

Measure young trees from a planting drive and model how much carbon they will store over 20 years.

  • Intermediate
  • 1–2 weeks
  • Free
Data Analysis · No equipmentView

Biology + Environmental Science

Test how fertiliser runoff affects algae growth

Add different amounts of fertiliser to jars of pond water and track how green they turn.

  • Intermediate
  • 1–2 weeks
  • Under 250
Experiment · Household materialsView

Enter your email and the official page opens. Phone is optional.