{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# p15: Solve eigenvalue BVP \n",
"\n",
"$$\n",
"u_{xx} = \\lambda u, \\qquad u(-1)=u(1)=0\n",
"$$"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"%config InlineBackend.figure_format='svg'\n",
"from numpy import dot,argsort,linspace,shape,zeros,polyval,polyfit,pi,real\n",
"from chebPy import cheb\n",
"from scipy.linalg import solve,eig\n",
"from matplotlib.pyplot import figure,subplot,plot,title,axis"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [
{
"data": {
"image/svg+xml": [
"\n",
"\n",
"\n"
],
"text/plain": [
"