Question
Find the area of the region enclosed by the curves : y =
0, x = |y| and y = |x - 2|.Solution
We know that y = 0 is 'x-axis'. Now, for x = |y|, 'y' will be positive for any value of 'x'. So, essentially its only x = y but without any negative values of 'y'. So, we will get a 'V' shape graph along the 'y' axis. Similarly, y = |x - 2|, will be 'V' shaped along the 'x-axis' and since, we are subtracting -2, the origin of the line will move from (0,0) to (2,0). So, required area = Area of triangle So, Area of triangle = (1/2) X 2 X 1 = 1 square units
Which of the following integrity constraints ensures that every non-null foreign key value must reference an existing primary key value in another tabl...
Hashing is used for:
The amortized cost of appending an element at the end of a dynamic array is:
Consider the following stack operations. What will be the content of the stack after executing all the operations?
Stackstack = new Stack... Which of the following is NOT among the OWASP Top 10 Web Security Risks?
In Python, what will be the output of the following code snippet, considering scope rules?
x = 5
In asymmetric encryption, which of the following statements is correct?
Which algorithm constructs a suffix tree in linear time?
What is the primary purpose of a B+ Tree in a database management system?
Which sorting algorithm has O(n log n) average case?