Answer:
%Open the file.
fID = fopen('parts_inv.dat');
%Read from the file.
data = fscanf(fID,'%d\t%f\t%d',[3,inf]);
%Close
fclose(fID);
%Restore the data.
data = data';
%Get the size
[rs, cs] = size(data);
%Set value.
invCost = 0;
%Loop
for rw = 1 : rs
%Find cost
invCost = invCost + (data(rw, 2) * data(rw, 3));
%Loop end
end
%Display the cost.
fprintf('Total cost: %4.2f\n\n', invCost);
Explanation:
Answer: P= mad/t or P=w/t so P= 300/6= 50 W
Answer:The atmosphere directly absorbs about 23% of incoming sunlight, and the remaining energy is transferred from the Earth's surface by evaporation (25%), convection (5%), and thermal infrared radiation (a net of 5-6%).Jan
Explanation:
None
Answer: 0.167 kilograms
Explanation: I know this because I used a conversion calculator.