Piston Engines See the figure. In a certain piston engine, the distance $x$ (in inches) from the center of the drive shaft to the head of the piston is modeled by the function
$$
x(\theta)=\cos \theta+\sqrt{16+0.5\left(2 \cos ^{2} \theta-1\right)}
$$
where $\theta$ is the angle between the crank and the path of the piston head. Find $x$ when $\theta=30^{\circ}$ and when $\theta=45^{\circ}$.