The purpose of the assignment is get experience interpreting a mid to large size
ID: 2080470 • Letter: T
Question
The purpose of the assignment is get experience interpreting a mid to large size set of data. which has multiple inputs. MATLAB will be useful for doing this. 1. At least 100 data points (again at ieast a mid-sized data set) important) 2. Explain why you chose the project (why it is interesting or set 3. Explain how you went about designing/gathering your data 4. Cite your resources you got parameters information from where you got the raw data from, or where person) give credit. you consulted any source (written, video, 5. Conclusions on your 3d image 6. Project should be well written conform to English 1 standards checker sure it is has decent grammar, you used a spell Have read it 7. image should include tities and labels and legends Makes interpreting graphs a lot easier. 8. Submit a hard copy and electronic copy to instructor 9. Due on Wednesday 3122 after Midterm break revisions is Monday 4A0 You will get it back with feedback, final submission with Some ideas to use Barometric pressure over an area Heights over an area Wind gusts over an area Amount of precipitation over a region Concentration of pollutants dispersing in a system Energy usage in a region Deflate gate pressure Tom vs. Roger) Again looking for multiple inputs (2)and either a scalar or vector output. Have at least a midsized data set.Explanation / Answer
1)
heights over an area
Matlab Codes for concentration of pollutants
% Flow2d Model in File flow2d.m
clear;
L = 1.0;
W = 4.0;
T = 10.;
K = 200;
dt = T/K;
n = 10.;
dx = L/n;
m = 20.;
dy = W/m;
velx = .1;
vely = .4;
decay = .1;
for i = 1:n+1
x(i) =(i-1)*dx;
for j = 1:m+1
y(j) =(j-1)*dy;
u(i,j,1) = 0.;
end
end
for k=1:K+1
time(k) = (k-1)*dt;
for j=1:m+1
u(1,j,k) = .0;
end
for i=1:n+1
u(i,1,k)=(i<=(n/2+1))*(k<26)*5.0*sin(pi*x(i)*2)
+(i>(n/2+1))*.1;
end
end
4
for
k=1:K
for i=2:n+1;
for j=2:m+1;
u(i,j,k+1) =(1 - velx*dt/dx -vely*dt/dy-
decay*dt)*u(i,j,k)+
velx*dt/dx*u(i-1,j,k)+
vely*dt/dy*u(i,j-1,k);
end
end
end
mesh(x,y,u(:,:,K)')
% Code in mov2d.m
flow2d;
lim =[0 1 0 4];
for
k=1:5:200
contour(x,y,u(:,:,k)')
title (
'concentration versus space at different
times'
)
axis(lim);
k
= waitforbuttonpress;
end
amount of precipitation over a region
function l = isleapyear(year)Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.