Example: marketing
Numerical Methods for Differential Equations with Python

Numerical Methods for Differential Equations with Python

Back to document page

The equation can be approximated using the forward Euler as w i+1 w i h = sin(x i). Rearranging the equation gives the discrete difference equation with the unknowns on the left and the know values of the right w i+1 = w i +hsin(x i). The Python code bellow implements this difference equation. The output of the code is shown in Figure 1.1.1.

  Python, Using, Code, Python code

Download Numerical Methods for Differential Equations with Python


Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Related search queries