Description: function [ue, un] = LW_utux0 (v, dt, t) A simple hyperbolic partial differential equation: ut+ ux = 0 initial conditions: u (x, 0) = 1, x ≤ 0 = 0, x> 0 boundary conditions: u (-1, t) = 1, u (1, t) = 0 of the questions requires: using the Lax-Windroff method, select v =.. 0.5, calculate and draw when dt = 0.01 and 0.0025, equation t = 0.5, x numerical solution at (-1,1) and the exact solution when input: v- that is a* dt/dx dt- time step numerical format t- of output required time solution: ue- 1N exact solution matrix at time t un- 1N value at time t when the solution matrix output image: and numerical solutions precise image
To Search:
File list (Check if you may need any files):
LW_utux0.m