Question: Take your solution to QUESTION 1 with the speed c= -2. Implement the Lax-Wendroff method with the same domain and temporal parameters. You will notice

Take your solution to QUESTION 1 with the speed c= -2. Implement the Lax-Wendroff method with the same domain and temporal parameters. You will notice that this solution is not good either. At This is because c > 1 and the Courant-Friedrichs-Lewy condition is not met for stability. At is the timestep size and Ax is the distance between spatial nodes. At Fix this by setting At such that = 0.7. Ax You will now notice that the solution is a lot more stable but still subject to some error. To reduce this error increase N from 200 to 1000. What is the current time (displayed in the template figure) at the end of the simulation rounded to the nearest 0.01? Answer. Check
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
