Assume two vertical pistons with their flat head facing upward.
Is it possible to couple them to one rotating shaft in a way that the position vs. time diagram gets like this? (This is one complete cycle)
Each color being representing a piston.
The equations are:
Red: $$2 \left|\cos(\pi t)\right| - \frac12$$
Blue: $$2 \left|\sin(\pi t)\right| - \frac12$$ (The first with a phase difference of $\pi \over 2$)
I think because of the Absolute values, this can not be a simple crankshaft.
Can anyone help?
EDIT:
Actually I want to get as close as possible to this diagram of motion, which is the ideal theoretical case. Maybe this can help you for a better approximation.