Answer & Explanation:
function Temprature
NYC=[33 33 18 29 40 55 19 22 32 37 58 54 51 52 45 41 45 39 36 45 33 18 19 19 28 34 44 21 23 30 39];
DEN=[39 48 61 39 14 37 43 38 46 39 55 46 46 39 54 45 52 52 62 45 62 40 25 57 60 57 20 32 50 48 28];
%AVERAGE CALCULATION AND ROUND TO NEAREST INT
avgNYC=round(mean(NYC));
avgDEN=round(mean(DEN));
fprintf('\nThe average temperature for the month of January in New York city is %g (F)',avgNYC);
fprintf('\nThe average temperature for the month of January in Denvar is %g (F)',avgDEN);
%part B
count=1;
NNYC=0;
NDEN=0;
while count<=length(NYC)
if NYC(count)>avgNYC
NNYC=NNYC+1;
end
if DEN(count)>avgDEN
NDEN=NDEN+1;
end
count=count+1;
end
fprintf('\nDuring %g days, the temprature in New York city was above the average',NNYC);
fprintf('\nDuring %g days, the temprature in Denvar was above the average',NDEN);
%part C
count=1;
highDen=0;
while count<=length(NYC)
if NYC(count)>DEN(count)
highDen=highDen+1;
end
count=count+1;
end
fprintf('\nDuring %g days, the temprature in Denver was higher than the temprature in New York city.\n',highDen);
end
%output
check the attachment for additional Information
Answer:
G = $37,805.65
Explanation:
I found this on another site:
475,000 = 25,000(P/A,10%,6) + G(P/G,10%,6)
475,000 = 25,000(4.3553) + G(9.6842)
9.6842G = 366,117.50
G = $37,805.65
Answer: r = 0.8081; s = -0.07071
Explanation:
A = (150i + 270j) mm
B = (300i - 450j) mm
C = (-100i - 250j) mm
R = rA + sB + C = 0i + 0j
R = r(150i + 270j) + s(300i - 450j) + (-100i - 250j) = 0i + 0j
R = (150r + 300s - 100)i + (270r - 450s - 250)j = 0i + 0j
Equating the i and j components;
150r + 300s - 100 = 0
270r - 450s - 250 = 0
150r + 300s = 100
270r - 450s = 250
solving simultaneously,
r = 0.8081 and s = -0.07071
QED!
Answer:
both are incorect
Explanation:
2 stroke principal is a mix of gasoline and engine oil a normal gasoline engine does not run on 2 stroke fuel
technician B is also wrong Diesel engines generally generate much higher compersion than gasoline engines