Answer:
MATLAB Code is written below with comments in bold, starting with % sign.
MATLAB Code:
function L = Lkm(mpg)
L = mpg*1.60934/3.78541; %Conversion from miles per gallon to km per liter
L = L^(-1); %Conversion to liter per km
L = L*100; %Conversion to liter per 100 km
end
Explanation:
A function named Lkm is defined with an output variable "L" and input argument "mpg". So, in argument section, we give function the value in miles per gallon, which is stored in mpg. Then it converts it into km per liter by following formula:
L = (mpg)(1.60934 km/1 mi)(1 gallon/3.78541 liter)
Then this value is inverted to convert it into liter per km, in the next line. Then to find out liter per 100 km, the value is multiplied by 100 and stored in variable "L"
Test Run:
>> Lkm(100)
ans =
2.3522
You are playing guitar on a stool that is 22" tall. How tall is the stool if it is expressed as a combination of feet and inches?
Answer:
1 foot 10 inches
Explanation:
1 foot = 12 inches + 10 inches = 22 inches
irhagoaihfw
What test should be performed on abrasive wheels
Answer:
before wheel is put on it should be looked at for damage and a sound or ring test should be done to check for cracks, to test the wheel it should be tapped with a non metallic instrument (I looked it up)
The test that should be performed on abrasive wheels is the ring test.
What is the purpose of the ring test on the abrasive wheels?The ring test can be regarded as one of the mechanical test that is used to know whether the wheel is cracked or damaged.
To carry out this test , the wheel will be arranged to be in the 45 degrees each side and it is then aligned to be at a specific diameter, this can be done by the expert in this field to know the state of that wheel.
Learn more about ring test on:
https://brainly.com/question/4621112
#SPJ9
the pressure rise, across a pump can be expressed as where D is the impeller diameter, p, is the fluid density, w is the rotational speed, adn q is the flowrate. determine a suitable set of dimensionless parameters
Answer:
hello your question is incomplete below is the complete question
The pressure rise Δp across a pump can be expressed as Δp = f(D, p, w, Q) where D is the impeller diameter, p is the fluid density, w is the rotational speed, and Q is the flowrate. determine a suitable set of dimensionless parameters
answer : Δp / D^2pw^2 = Ф (Q / D^3w )
Explanation:
k ( number of variables ) = 5
r ( number of reference dimensions ) = 3
applying the pi theorem
hence the number of pi terms = k - r = 5 - 3 = 2