Answer:
point_dist = math.sqrt((math.pow(x2 - x1, 2) + math.pow(y2 - y1, 2))
Explanation:
The distance formula is the difference of the x coordinates squared, plus the difference of the y coordinates squared, all square rooted. For the general case, it appears you simply need to change how you have written the code.
point_dist = math.sqrt((math.pow(x2 - x1, 2) + math.pow(y2 - y1, 2))
Note, by moving the 2 inside of the pow function, you have provided the second argument that it is requesting.
You were close with your initial attempt, you just had a parenthesis after x1 and y1 when you should not have.
Cheers.
Answer:29,930 kJ
Explanation:
Given
Car starts with an initial elevation of 500 m and drives up a hill to reach a final elevation of 2000 m
Final velocity (V)=20 m/s
Energy of car increases by 100 kJ
mass of car(m)=2000 kg







Total Energy=29,430+400+100=29,930 kJ
Answer:
A)
D = 158.42 kmol/h
B = 191.578 kmol/h
B) Rmin = 1.3095
Explanation:
<u>a) Determine the distillate and bottoms flow rates ( D and B ) </u>
F = D + B ----- ( 1 )
<em>Given data :</em>
F = 350 kmol/j
Xf = 0.45 mole
yD ( distillate comp ) = 0.97
yB ( bottom comp ) = 0.02
back to equation 1
350(0.45) = 0.97 D + 0.02 B ----- ( 2 )
where; B = F - D
Equation 2 becomes
350( 0.45 ) = 0.97 D + 0.02 ( 350 - D ) ------ 3
solving equation 3
D = 158.42 kmol/h
resolving equation 2
B = 191.578 kmol/h
<u>B) Determine the minimum reflux ratio Rmin</u>
The minimum reflux ratio occurs when the enriching line meets the q line in the VLE curve
first we calculate the value of the enriching line
Y =( Rm / R + 1 m ) x + ( 0.97 / Rm + 1 )
q - line ; y = ( 9 / 9-1 ) x - xf/9-1
therefore ; x = 0.45
Finally Rmin
= (( 0.97 / (Rm + 1 )) = 0.42
0.42 ( Rm + 1 ) = 0.97
∴ Rmin = 1.3095
<u />
<u />
<u />
<u />
<u />
Answer:
<u>No</u>.
Explanation:
They are not all the same. Moreover, using a fluid that is not approved by the vehicle manufacturer will void the transmission warranty.