Question
From the top of a building, the angle of depression of
two cars on a straight road are 30° and 60° respectively. If the height of the building is 120 meters, find the distance between the two cars.Solution
Let the distance of the first car from the base of the building be x, and the distance of the second car be y. For the first car, using tan(30°) = height / distance: tan(30°) = 120 / x 1/√3 = 120 / x x = 120√3 meters. For the second car, using tan(60°) = height / distance: tan(60°) = 120 / y √3 = 120 / y y = 120 / √3 = 40√3 meters. The distance between the two cars is x - y: 120√3 - 40√3 = 80√3 meters. Correct answer: b
Which of the following is an example of an ADT for storing data?
Trace the output int main() { int a=12,b=39; printf ("%d",a&b); return 0; }
What application layer protocol is responsible for translating domain names to IP addresses?
In Go, what is the purpose of a goroutine?
Which property of a transaction is known as atomicity?
Which tree traversal visits the nodes in the order: left, root, right?
What will be printed from the below code?
List1 =[‘Ixambee’,’provides’,’best’,’mock’,’tests...
relation R(ABCD) has these dependencies {A → B, B → C,C → D} and it is decomposed into three relations R1(AB) , R2(BC), AND R3(CD). State true or...
What is a data hazard in instruction pipelining?
In Go, what is the purpose of a goroutine?