eulers_slopefield.py

Created by tracy-pratt-1

Created on January 09, 2026

2.85 KB

This script will allow you to approximate a solution to a differential equation using Euler’s method.

When inputting your dy/dx you must explicitly define every operation

Examples of inputting different dy/dx are below:

if dy/dx = 2x/y then input 2*x/y

if dy/dx = 0.5x+y then input 0.5*x+y

Watch a tutorial at : https://youtu.be/Q9BwmdPH9-M?si=O26JjlLRm4A3En69


During your visit to our site, NumWorks needs to install "cookies" or use other technologies to collect data about you in order to:

With the exception of Cookies essential to the operation of the site, NumWorks leaves you the choice: you can accept Cookies for audience measurement by clicking on the "Accept and continue" button, or refuse these Cookies by clicking on the "Continue without accepting" button or by continuing your browsing. You can update your choice at any time by clicking on the link "Manage my cookies" at the bottom of the page. For more information, please consult our cookies policy.