GATE 2022 CS – Question 2
A function $y(x)$ is defined in the interval $[0,1]$ on the $x$-axis as
$y(x)=\begin{cases}2 & 0\le x<\frac{1}{3}\\ 3 & \frac{1}{3}\le x<\frac{3}{4}\\ 1 & \frac{3}{4}\le x\le 1\end{cases}$
Which one of the following is the area under the curve for the interval $[0,1]$ on the $x$-axis?
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (C) $\frac{13}{6}$
Explanation
Area $=2\cdot\frac13+3\cdot(\frac34-\frac13)+1\cdot\frac14=\frac23+\frac54+\frac14=\frac{13}{6}$.