Toggle Navigation
Everything
Blog posts
Pages
Home
About
The Author
The Book
This Website
Book
Chapter 1: Introduction
Chapter 2: The Core Python Language I
Examples
Questions
Problems
Additional Problems
Chapter 3: Simple Plotting with pylab
Examples
Problems
Chapter 4: The core Python language II
Examples
Questions
Problems
Additional Problems
Chapter 5: IPython and IPython Notebook
Examples
Chapter 6: NumPy
Examples
Questions
Problems
Additional Examples
Additional Problems
Chapter 7: Matplotlib
Examples
Questions
Problems
Chapter 8: SciPy
Examples
Questions
Problems
Additional Examples
Additional Problems
Chapter 9: General Scientific Programming
Examples
Questions
Problems
Errata
Book (2nd ed.)
Chapter 1: Introduction
Chapter 2: The Core Python Language I
Examples
Questions
Problems
Additional Problems
Chapter 3: Simple Plots and Charts
Examples
Problems
Chapter 4: The core Python language II
Examples
Questions
Problems
Additional Problems
Chapter 5: IPython and Jupyter Notebook
Examples
Problems
Chapter 6: NumPy
Examples
Questions
Problems
Additional Examples
Additional Problems
Chapter 7: Matplotlib
Examples
Questions
Problems
Chapter 8: SciPy
Examples
Questions
Problems
Additional Examples
Additional Problems
Chapter 9: Data Analysis with pandas
Examples
Problems
Chapter 10: General Scientific Programming
Examples
Questions
Problems
Errata
Additional Notes
Blog
Apps
Contact
Home
Book (2nd ed.)
Chapter 8: SciPy
Chapter 8: SciPy
Examples
E8.1 The least well-determined physical constants
E8.2 A quantum particle in a gravitational field
E8.3 Drum vibrations with Bessel functions
E8.4 DNA diffraction pattern
E8.5 The gamma function
E8.6 A pendulum making 90-degree swings
E8.7 The circumference of an ellipse
E8.8 Quantum mechanical tunnelling probability for the ground state of the harmonic oscillator
E8.9 The Voigt profile
E8.10 The Euler spiral
E8.11 An application of the exponential integral
E8.12 Visualizing the spherical harmonics
E8.13 Finding the volume of a torus
E8.14 The volume of the unit sphere
E8.15 The mass and centre of mass of a tetrahedron
E8.16 Stokes drag
E8.17 Solving a system of stiff ODEs
E8.18 A projectile with air resistance
E8.19 scipy.interpolate.interp1d
E8.20 scipy.interpolate.interp2d
E8.21 Two-dimensional interpolation with scipy.interpolate.RectBivariateSpline
E8.22 Two-dimensional interpolation with scipy.interpolate.griddata
E8.23 A simple model of an airship envelope
E8.24 Non-linear fitting to an ellipse
E8.25 Weighted and non-weighted least-squares fitting
E8.26 Solving the Euler-Lotka equation
E8.27 The Newton fractal
Questions
Q8.1.1 The most well-determined physical constants
Q8.1.2 Number concentration from the ideal gas law
Q8.2.1 Numerical integration of a simple function
Q8.2.2 Numerical integration of some awkward integrals
Q8.2.3 Evaluating $\pi$ by direct integration
Q8.2.4 dblquad gotcha
Q8.4.1 Equation solving with scipy.optimize.brentq
Q8.4.2 Failing to find the root with scipy.optimize.newton
Q8.4.3 Determining the initial angle of a projectile's motion
Problems
P8.1
P8.1.1 Pascal's triangle
P8.1.2 The Airy disc
P8.1.3 Wavelength from molar dissociation energy
P8.1.4 The surface area of an ellipsoid
P8.1.5 The Theis equation
P8.1.6 Heat dissipation of an annular fin heatsink
P8.2
P8.2.1 Surface area of revolution
P8.2.2 Integral of the secant function
P8.2.3 Volume and moment of inertia of a torus
P8.2.4 The Brusselator
P8.2.5 The general pendulum
P8.2.6 The Chapman cycle
P8.2.7 The tumbling of Hyperion
P8.2.8 Modelling a radioactive decay chain
P8.2.9 Modelling the evolution of a match flame
P8.4
P8.4.1 A simple constrained minimization problem
P8.4.2 Root-finding with newton and brentq
P8.4.3 The Wien displacement law
P8.4.4 The variational principle and the quantum mechanical particle-in-a-box
Additional Examples
Interpolation of an image
The SIR epidemic model
Additional Problems
Fitting the Cosmic Microwave Background
Overlapping circles