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:
Explanation:
Assuming the dragster accelerates at constant rate, the equation that describes the distance travelled by the dragster after time t is
where
u is the initial velocity
a is the acceleration
If we assume that the dragster starts from rest,
u = 0
And we also know that at t = 3.58 s, the distance covered is
d = 402 m
Solving the formula for a, we find the acceleration:
Question: A ship anchored at sea is rocked by waves that have crests 100 m apart the waves travel at 70m/S, at what frequency do the waves reach the ship?
Answer:
0.7 Hz
Explanation:
Applying,
v = λf............... Equation 1
Where v = velocity of the wave, f = frequency fo the wave, λ = wavelength of the wave
make f the subject of the equation
f = v/λ................. Equation 2
From the question,
Given: v = 70 m/s, λ = 100 m ( distance between successive crest)
Substitute these values into equation 2
f = 70/100
f = 0.7 Hz
Hence the frequency at which the wave reach the ship is 0.7 Hz
Answer:
Explanation:
Batteries convert chemical energy to electrical energy. Electric current is the flow of elections. Therefore, the first one is the correct answer.
I think the closest possible answer to this question is The air density increases and decreases repeatedly before returning to normal.Thank you for your question. Please don't hesitate to ask in Brainly your queries.