15.08.2015 Views

Introduction to the Modeling and Analysis of Complex Systems

introduction-to-the-modeling-and-analysis-of-complex-systems-sayama-pdf

introduction-to-the-modeling-and-analysis-of-complex-systems-sayama-pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

240 CHAPTER 13. CONTINUOUS FIELD MODELS I: MODELINGxvalues, yvalues = meshgrid(arange(-3, 3.1, 0.1), arange(-3, 3.1, 0.1))vx = 2 * xvaluesvy = yvalues - xvaluesstreamplot(xvalues, yvalues, vx, vy)show()32101233 2 1 0 1 2 3Figure 13.9: Vec<strong>to</strong>r field visualized using Code 13.4.Exercise 13.7Python.Plot <strong>the</strong> scalar field f(x, y) = sin(xy) for −4 ≤ x, y ≤ 4 usingExercise 13.8Python.Plot <strong>the</strong> gradient field <strong>of</strong> f(x, y) = sin(xy) for −4 ≤ x, y ≤ 4 using

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!