Question: Now I don't expect a solution for the python code they're asking (althought would be great if you knew how :P) but I'd be just

 Now I don't expect a solution for the python code they're

Now I don't expect a solution for the python code they're asking (althought would be great if you knew how :P) but I'd be just as happy if you just solved this question by hand as you would normally do on paper using the crank-nicholson scheme with a jacobi iterative solver. Thanks in advance!

1. Write a Matlab/Python computer program to solve the following one-dimensional with periodic boundary conditions u(z = 0,t) = u(z = L,t) and the initial condition Hints: . Use L = 1 and a 20. . Use a Crank-Nicholson scheme with a Jacobi iterative solver Include spacetime plot with your answer showing how the solution u(t, z) depends on r and t. 1. Write a Matlab/Python computer program to solve the following one-dimensional with periodic boundary conditions u(z = 0,t) = u(z = L,t) and the initial condition Hints: . Use L = 1 and a 20. . Use a Crank-Nicholson scheme with a Jacobi iterative solver Include spacetime plot with your answer showing how the solution u(t, z) depends on r and t

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!