Answer:
%Program prompts user to input vector
v = input('Enter the input vector: ');
%Program shows the value that user entered
fprintf('The input vector:\n ')
disp(v)
%Loop for checking all array elements
for i = 1 : length(v)
%check if the element is a positive number
if v(i) > 0
%double the element
v(i) = v(i) * 2;
%else the element is negative number.
else
%triple the element
v(i) = v(i) * 3;
end
end
%display the modified vector
fprintf('The modified vector:\n ')
disp(v)
Answer:
Ea public address glven via the intercom system of a large buildingxplanation:
Answer:
attached below is the detailed solution and answers
Explanation:
Attached below is the detailed solution
C(iii) : versus the parameter C
The parameter C is centered in a nonlinear equation, therefore the standard locus will not apply hence when you use a polynomial solver the roots gotten would be plotted against C
Answer:
Option D
Explanation:
A post development hydrograph will have lower concentration time and lower infiltration losses and hence sooner peak and higher peak and more runoff or higher area under graph. Therefore, all the answers are correct hence option D