Develop a computer program that can determine the position and velocity of all links in a four-bar mechanism for crank angles that range from 0 to 360 . Using the listed values, determine the crank angle that produces the maximum slider acceleration.
$$
\begin{aligned}
& \text { frame }=18 \mathrm{in} \text {.; crank }=2 \mathrm{in} \text {.; coupler }=20 \mathrm{in} . ; \\
& \text { follower }=7 \mathrm{in} \text {.; crank speed }=150 \mathrm{rad} / \mathrm{s} ; \text { crank } \\
& \text { acceleration }=0 \mathrm{rad} / \mathrm{s}^2
\end{aligned}
$$