The following equation gives an offset piston's displacement (Y) for a known crankshaft angle (theta).

Given a known piston displacement (Y) and that r,b & d are also known, I would like to be able to calculate the crankshaft angle - to rearrange equation to solve for (theta)?

Any help greatly appreciated.

Thanks,

Russ