Answer:
public static int average(int j, int k) {
return (int)(( (long)(i) + (long)(j) ) /2 );
}
Explanation:
The above code returns the average of two integer variables
Line 1 of the code declares a method along with 2 variables
Method declared: average of integer data type
Variables: j and k of type integer, respectively
Line 2 calculates the average of the two variables and returns the value of the average.
The first of two integers to average is j
The second of two integers to average is k
The last parameter ensures average using (j+k)/2
Answer:
True
Explanation:
It is legal to mix refrigerants but it depends on the shop whether they mix or not refrigerants
Complete Question
The complete question is shown on the first uploaded image
Answer:
The value is
The calculated value is greater than the value from the CES EduPack
(A picture of the listings of the CES EduPack is shown on the second uploaded image )
Explanation:
From the question we are told that
The distance x that the heat diffuses in the time t is approximately
Where
Now from the question we know that t = 18 s and x = 3mm = 0.003 m,
So
=>
=>
Generally the density of the polyethylene is
So
=>
From the CES EduPack the value listed for thermal conductivity λ of polyethylene is
So the calculated value is greater that the value from the CES EduPack
Answer: the distance in advance of the curve the sign must be located to ensure that vehicles have sufficient distance to decelerate safely is 292.07 ft
Explanation:
first we calculate the distance to place sign board in advance to curve for decelerating the speed
d = 1.47Si t + [ (Si² - Sf²) / 30(0.348 ± 0.01G)
where d is the safe stopping distance, initial speed is Si (60 mi/hr ), time reaction is t (2.5s), Sf is the final speed (40 mi/hr), G is the grade (0).
so we substitute
d = (1.47 × 60 × 2.5) + [ (60² - 40²) / 30(0.348 ± 0)
= 220.5 + ( 2000/10.44)
= 220.5 + 191.57
= 412.07 ft
Now giving that a warning sign is clearly visible at a distance of 120 ft
optimum safe distance will be
d = minimum distance - sign visible distance
d = 412.07 - 120
d = 292.07 ft
therefore the distance in advance of the curve the sign must be located to ensure that vehicles have sufficient distance to decelerate safely is 292.07 ft
Answer:
Detailed solution is given in attached image