Question: please use MATLAB code to solve this question with details use any of the finite difference method : upwind, 1. Consider the following advection equation:
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
