Question
There are five boxes in a cargo hold. The weight of the
first box is 200 kg and the weight of the second box is 20% higher than the weight of the third box, whose weight is 25% higher than the first box's weight. The fourth box at 350 kg is 30% lighter than the fifth box. Find the difference in the average weight of the four heaviest boxes and the four lightest boxes:Solution
Let the weight of five boxes be W1, W2, W3, W4 and W5 respectively. ATQ: W1 = 200 kg W3 = 125/100 × 200 = 250 kg W2 = 120/100 × 250 = 300 kg W4 = 350 W5 = 350 × 100/70 = 500 kg Now, Avereage weight of 4 heaviest boxes = (500 + 350 + 300 + 250)/4 = 350 kg Avereage weight of 4 lightest boxes = (200 + 250+ 300 + 350)/4 = 275 kg Required difference = 350 - 275 = 75 kg
What will be the output of the code
int main(){
int x= 10;
int y=10;
int s=-(-x-y)
cout<
return 0;
}
In a virtual memory system, what is a "page fault"?
Which type of transistor is less susceptible to thermal runaway?
What is the unit of electric current?
Which transport layer protocol provides connection-oriented, reliable, and ordered delivery of data packets between applications?
The result of SQL select statement is?
What is an ER diagram used for?
Which routing protocol is commonly used within an autonomous system (AS) to determine the best path for data packets?
Which distribution is used to model the number of successful outcomes in a fixed number of independent Bernoulli trials?
Which component in the MVC architecture communicates directly with the database?