To find the area under the curve $y = x^2 + 2x$ between $x = 0$ and $x = 4$ using the trapezoidal rule with a step size $h = 1$, we follow these steps:
The interval is $[0, 4]$ and the step size $h=1$. The points are $x_0 = 0, x_1 = 1, x_2 = 2, x_3 = 3, x_4 = 4$. We calculate the corresponding $y$ values using $y = x^2 + 2x$:
The trapezoidal rule formula for approximating the area is:
Area $\approx \frac{h}{2} [y_0 + 2(y_1 + y_2 + ... + y_{n-1}) + y_n]$
Here, $h=1$ and $n=4$. Plugging in the values:
Area $\approx \frac{1}{2} [y_0 + 2(y_1 + y_2 + y_3) + y_4]$
Area $\approx \frac{1}{2} [0 + 2(3 + 8 + 15) + 24]$
Perform the calculation:
Area $\approx \frac{1}{2} [0 + 2(26) + 24]$
Area $\approx \frac{1}{2} [52 + 24]$
Area $\approx \frac{1}{2} [76]$
Area $\approx 38$
The calculated area using the trapezoidal rule is 38.
The work done by the force $F = (x + y)\hat{i} - (x^2 + y^2)\hat{j}$, where $\hat{i}$ and $\hat{j}$ are unit vectors in $\vec{OX}$ and $\vec{OY}$ directions, respectively, along the upper half of the circle $x^2 + y^2 = 1$ from $(1,0)$ to $(-1,0)$ in the $xy$-plane is

In the figure shown above, PQRS is a square. The shaded portion is formed by the intersection of sectors of circles with radius equal to the side of the square and centers at S and Q.
The probability that any point picked randomly within the square falls in the shaded area is ___________.