Self-Driving Cars
Published in

Self-Driving Cars

Pythagorean Theorem

For the first fifteen years of my career in software, I barely used algebra. Web development requires plenty of abstract reasoning, but not higher math. Since working on autonomous vehicles, however, I constantly find myself revisiting topics I last touched in high school.

Pythagorean Theorem is a great example.

a*a + b*b = c*c

When on earth would you actually use this in “real life?” A few years ago I might have said never. Now I use it all the time.

Imagine I’m trying to calculate a vehicle’s acceleration, and the sensors tells me it’s accelerating 1 meter per second in the x-direction and 0.5 meters per second in the y-direction. What is the acceleration in the vehicle’s own frame of reference?

I’d use Pythagorean Theorem to find the answer. You can try it with an online calculator. What’d you get?




A publication covering news, predictions, and opinions about self-driving cars and other autonomous vehicles.

Recommended from Medium

Industry Use Case on Automation using Ansible

Writing Interfaces: Stay true in booleans

Fix EAC3 Audio Format Not Supported

EAC3 audio format is not supported

Building Server-less Web Application Using AWS Amplify

Object-Oriented Programming in Java — Abstraction

Soft Skills for Software Engineers — Part 3: Effective Mindset

How to set up a perfect Python project

Terra $LUNA updates 13-19 September (Weekly Terra Report)

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
David Silver

David Silver

I love self-driving cars and I work on them at Cruise!

More from Medium

How simulating light and sensors help build better perception systems

IWAV S3EP02 : Not all autonomous vehicle development directions are the same

Developing a Comprehensive Toolchain for Validation of Autonomous Vehicles with dSPACE ASM and…

Driver-in-the-Loop Simulation for Guardian and Chauffeur