{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# p06: Variable coefficient wave equation"
]
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {},
"outputs": [],
"source": [
"%config InlineBackend.figure_format='svg'\n",
"from matplotlib.collections import PolyCollection\n",
"from numpy import pi,linspace,sin,cos,exp,round,zeros,arange,real\n",
"from numpy.fft import fft,ifft\n",
"from matplotlib.pyplot import figure"
]
},
{
"cell_type": "code",
"execution_count": 7,
"metadata": {},
"outputs": [
{
"data": {
"image/svg+xml": [
"\n",
"\n",
"\n"
],
"text/plain": [
"