All Questions
Tagged with crank-nicolson python
2
questions
2
votes
0
answers
173
views
Error in implementation of Crank-Nicolson method applied to 1D TDSE?
Some context, I've posted this question on physics SE and stack overflow. The former had nothing to offer, the latter had a great commenter that agreed with the phase looking off being one of the ...
2
votes
1
answer
4k
views
Applying Neumann boundaries to Crank-Nicolson solution in python
Consider the heat equation
$$u_t = \kappa u_{xx}$$
with boundary conditions of
$$u(x,0)=0\\
u(0,t)=100\\
u(l,t)=0$$
Numerical analysis by pyton can be done with
...