Course Solutions Uncategorized (Solved) : Given Following Code Matlab Write Pseudo Code Question 8 Calculate Air Density 9am Entire Q30789393 . . . .

(Solved) : Given Following Code Matlab Write Pseudo Code Question 8 Calculate Air Density 9am Entire Q30789393 . . . .

 

Given following code in matlab, write pseudo code

%Question 8 – Calculate air density at 9am for entire monthusing for loop
R = 286.9;
%size() is used to get number of rows and columns
[rows,columns]=size(Dalby20177);
% for loop to calculate P= p/RT for each row
for i=1:rows
% A(i,15) defines 15th column of ith row.
%Similarly A(i,10) defines 10th column of every row
p(i)= Dalby20177(i,15)*10^2/(R*(Dalby20177(i,10)+273.15));
end
disp(‘p(i)’)
%Workspace ‘p’ is the solution to question

Will rate good answer!

Expert Answer


An answer will be send to you shortly. . . . .

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post