Plotting Bond Energy vs. Distance with Python and Matplotlib

Atoms in solid materials like steel and aluminum are held together with chemical bonds. Atoms of solid materials are more stable when they are chemically bonded together, and it takes energy to separate atoms which are joined together with a chemical bond. The bonding energy associated with a chemical bond …

How to upload .py-files onto an ESP8266 running MicroPython

This is an update to the sixth part of a multi-part series on Micropython. I had trouble in class today uploading a .py-file to an ESP8266 microcontroller running MicroPython using a command line tool called ampy. There was a trick getting ampy to work on with the ESP8266 microcontroller that …

Taylor Series in Python

In this post, we will review how to create a Taylor Series with Python and for loops. Then we will refactor the Taylor Series into functions and compare the output of our Taylor Series functions to functions from Python's Standard Library.

A Taylor Series is an infinite series of mathematical …

Hear my story about moving from MATLAB to Python on TalkPython

I was a guest on the TalkPython podcast with Michael Kennedy! We talked about teaching Python at a Community College and how I moved a college engineering class from MATLAB to Python using JupyterHub.

Plotting a Gaussian normal curve with Python and Matplotlib

In the previous post, we calculated the area under the standard normal curve using Python and the erf() function from the math module in Python's Standard Library. In this post, we will construct a plot that illustrates the standard normal curve and the area we calculated. To build the Gaussian …