Hint: You can adjust the default video playback speed in your account settings.
Hint: You can set the default subtitles language in your account settings.
Sorry! Looks like there’s an issue with video playback 🙁 This might be due to a temporary outage or because of a configuration issue with your browser. Please see our video player troubleshooting guide to resolve the issue.

The Square Root Function in Python (Overview)

Are you trying to solve a quadratic equation? Maybe you need to calculate the length of one side of a right triangle. You can use the math module’s sqrt() method for determining the square root of a number. This course covers the use of math.sqrt() as well as related methods.

In this course, you’ll learn:

  • About square roots and related mathematical operations
  • How to use the Python square root function, sqrt()
  • Where sqrt() can be useful in real-world examples


Sample Code (.zip)

7.3 KB


Course Slides (.pdf)

1.1 MB

Doug Ouverson on July 14, 2021

Thank you, Chris, for a job well done.

I like these short, topical tutorials. I’d like to see more of them.


Christopher Trudeau RP Team on July 15, 2021

Glad you enjoyed it Doug. Thanks for the feedback, I’ve passed it along to our editors.

Become a Member to join the conversation.