Project

a new title

Objective: Different Time StepMain Programclear allclose allclc%InputL = 1;n = 80; C = 1;t = 0.4;dt = [1e-4 1e-3 1e-2 1e-1];%Initialize Arraysx = linspace(0,L,n);u = 1*ones(1,n);l = length(u);u = my_limit(x,l);u_ini = u;u_old = u; %Calculationfor k=1:4 u = time_marching(dt(k),u,l,n,C,t,x); plot(x,u); hold on;endlegend('t=1e-4','t=1e-3','t=1e-2','t=1e-1');xlabel('Length…

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.