Question: please use MATLAB code to slove this equation and please write the solution with details 1. Consider the following advection equation: ut+aux=0,u(x,0)={4(x+8)(x+9),0,if9x8otherwise. Use any of
1. Consider the following advection equation: ut+aux=0,u(x,0)={4(x+8)(x+9),0,if9x8otherwise. Use any of the finite difference methods: Upwind, Lax-Friedrich, Lax-Wendroff, Leapfrog to solve the problem for 10x10 using a grid where r=hak=0.95,a=1. Plot your solution at time t=10
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
