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:
The work done on the block is B) 400 J
Explanation:
The work done when lifting an object is equal to the change in gravitational potential energy of the object:
where
m is the mass of the object
g is the acceleration of gravity
is the change in height of the object
In this problem we have:
(mg) = 100 N is the weight of the block (product of mass and acceleration of gravity)
is the change in heigth of the object
Substituting, we find the work done:
Learn more about work:
brainly.com/question/6763771
brainly.com/question/6443626
#LearnwithBrainly
Gasoline fuel is a renewable alternative to petroleum fuels that is made through either biologically or chemically driven production in a process called gasification.
Can you show a picture please
Answer;
-All of the above
- Water is essential for sustaining human life.
- Water is important for shipping and trade.
- Water is a valuable, profitable commodity.
Explanation;
-Water is one of the most important substances on earth. All plants and animals must have water to survive. If there was no water there would be no life on earth. Apart from drinking it to survive, people have many other uses for water such as cooking, washing clothes, cleaning, recreation, etc.
-Water is also essential for the healthy growth of farm crops and farm stock and is used in the manufacture of many products. Water is also important in our bodies; It facilitates digestion of food and absorption of nutrients through their dissolving in water, transports nutrients, chemicals and heat throughout the body. Water is our primary source of food.