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
The work done ($W$) by a force vector $\vec{F}$ along a path $C$ is calculated using the line integral:
$W = \int_C \vec{F} \cdot d\vec{r}$
Here, the force is given by $\vec{F} = (x + y)\hat{i} - (x^2 + y^2)\hat{j}$, and the path $C$ is the upper half of the circle $x^2 + y^2 = 1$ traversed from $(1,0)$ to $(-1,0)$.
We parametrize the upper half of the unit circle using the angle $\theta$:
The path starts at $(1,0)$, which corresponds to $\theta = 0$. The path ends at $(-1,0)$, which corresponds to $\theta = \pi$. Thus, $\theta$ ranges from $0$ to $\pi$.
The differential displacement vector is $d\vec{r} = dx \hat{i} + dy \hat{j}$. Differentiating the parametric equations:
So, $d\vec{r} = (-\sin\theta \, d\theta)\hat{i} + (\cos\theta \, d\theta)\hat{j}$.
Substitute the parametric equations into the force vector $\vec{F}$:
Therefore, $\vec{F} = (\cos\theta + \sin\theta)\hat{i} - (1)\hat{j}$.
Now, calculate the dot product $\vec{F} \cdot d\vec{r}$:
$ \vec{F} \cdot d\vec{r} = [(\cos\theta + \sin\theta)\hat{i} - \hat{j}] \cdot [(-\sin\theta \, d\theta)\hat{i} + (\cos\theta \, d\theta)\hat{j}] $
$ \vec{F} \cdot d\vec{r} = (\cos\theta + \sin\theta)(-\sin\theta) \, d\theta + (-1)(\cos\theta) \, d\theta $
$ \vec{F} \cdot d\vec{r} = (-\sin\theta \cos\theta - \sin^2\theta - \cos\theta) \, d\theta $
Set up the definite integral for work done:
$W = \int_{0}^{\pi} (-\sin\theta \cos\theta - \sin^2\theta - \cos\theta) \, d\theta$
Evaluate each term separately:
Summing the results:
$ W = 0 - \frac{\pi}{2} + 0 = -\frac{\pi}{2} $
The work done is $ -\frac{\pi}{2} $.

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 ___________.