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.
Hexadecimal is a base16 way of representing numerical values in a way a human can remember, it is not easier for the computer to read it but it is for a human. Hex can have both letters and numbers, as soon as the binary value gets above 9 it is replaced with a letter. Numbers are used from 0 to 9 and letters are used between binary values 10 and 16, hex does not go above 16 instead it just simply gets another digit.
For example, if there is a hex code of D9 then in decimal, it represents the number 139.
Hope this helps!
Answer:
r=0.31
Ф=18.03°
Explanation:
Given that
Diameter of bar before cutting = 75 mm
Diameter of bar after cutting = 73 mm
Mean diameter of bar d= (75+73)/2=74 mm
Mean length of uncut chip = πd
Mean length of uncut chip = π x 74 =232.45 mm
So cutting ratio r


r=0.31
So the cutting ratio is 0.31.
As we know that shear angle given as

Now by putting the values

\
Ф=18.03°
So the shear angle is 18.03°.
Answer: The complete part of the question is to find the exit velocity
Explanation:
Given the following parameters
Inlet pressure = 700kpa
outlet pressure = 40kpa
Temperature = 80°C = 353k
mass flow rate = 1 kg/s
The application of the continuity and the bernoulli's equation is employed to solve the problem.
The detailed steps and the appropriate formula is as shown in the attached file.
Answer:
Hello, I'm good. Thank you for asking