Question: 1. Apply the first-order upwind and Leap frog finite difference scheme to solve the wave equation with the initial condition 1, xs0 u(x, 0) 0,

1. Apply the first-order upwind and Leap frog finite difference scheme to solve the wave equation with the initial condition 1, xs0 u(x, 0) 0, x>o a) Write a Matlab script to solve the problem. b) Plot the numerical solution and compare it with the exact solution (examine different values for the courant number, v cAt/Ax). 1. Apply the first-order upwind and Leap frog finite difference scheme to solve the wave equation with the initial condition 1, xs0 u(x, 0) 0, x>o a) Write a Matlab script to solve the problem. b) Plot the numerical solution and compare it with the exact solution (examine different values for the courant number, v cAt/Ax)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
