Project

Linear convection coding basics part-2

Objective: % Inputs for the linear convection problem L = 1; n = 80; c = 1; dt = 1e-4, 1e-3, 1e-2, 1e-1; % Calculations x = linspace(0,L,n); dx = x(2)-x(1); %dx = L/(n-1) %Define the start and end position for the square wave % x_start = 0.1 % x_end = 0.3 % n_start = f(x_start) % n_end = f(x_end) n_start = 3; n_stop = 5; %Initialize…

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.