{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# p22: 5'th eigenvector of Airy equation"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"%config InlineBackend.figure_format='svg'\n",
"from chebPy import *\n",
"from numpy import dot,diag,real,argsort,zeros,linspace,polyval,polyfit,where\n",
"from scipy.linalg import eig\n",
"from scipy.special import airy\n",
"from matplotlib.pyplot import figure,subplot,plot,title"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/var/folders/bf/9z7c3wfn7033kh93rp599rg00000gn/T/ipykernel_2210/1541387896.py:9: RankWarning: Polyfit may be poorly conditioned\n",
" xx = linspace(-1.0,1.0,200); vv = polyval(polyfit(x,v,N),xx);\n"
]
},
{
"data": {
"image/svg+xml": [
"\n",
"\n",
"\n"
],
"text/plain": [
"