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:
1 centigram is equal to 10 milligrams.
Divide 3.88 milligrams by 10 to convert into centigrams.
3.88 / 10 = .388
The answer is .388 centigrams.
<span>25,000 miles per hour
hope that this helps</span>
5m
Explanation:
Given parameters:
Weight of object = 50N
Work done in lifting object = 250J
Unknown:
Vertical height = ?
Solution:
The work done on an object is the force applied to lift a body in a specific direction.
Work done = force x distance
Weight is a force in the presence of gravity;
Work done = weight x height of lifting
Height of lifting = 
Height of lifting =
= 5m
The vertical height through which the object was lifted is 5m
learn more:
Work done brainly.com/question/9100769
#learnwithBrainly