Resonance with a Damped-Driven Mass-Spring System in Python

Photo: Rhett Allain

Physicists like to say that pretty much everything can be modeled as just a mass connected to a spring. I mean, it’s not completely untrue. The mass on a spring appears in lots of different problems. But what about an oscillating mass WITH some type of frictional force? What about a mass-spring with a driving force? This is what we are going to build — in python. It’s going to be awesome.

--

--

--

Physics faculty, science blogger of all things geek. Technical Consultant for CBS MacGyver and MythBusters. WIRED blogger.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Locust.io experiments — extending the UI

Getting Started with Pygame

Open source API gateways

Java 8 interview questions and answers — Java2Blog

Three Aspects of the Problem of Reaching Agreement In Distributed Computing Systems Even If Some…

Enterprise Microservices Design [Part 5: Cross-Cutting Concerns]

Iterator pattern in Go using channels

Building a Digital Bank, Part #4

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Rhett Allain

Rhett Allain

Physics faculty, science blogger of all things geek. Technical Consultant for CBS MacGyver and MythBusters. WIRED blogger.

More from Medium

Python Shorts — Earth Distance

Map of the world with someone’s hands pointing out landmarks.

Functions As Mathematical Models | Functions And Analysis

Calculating Areas of Quadrilaterals in Python

Python Math Trunc