| THEORY & FORMULAE |
A mechanism is a device used to produce mechanical transformation in a machine. The crank-connecting rod & slider mechanism is used for converting angular (rotational) motion to linear (piston) motion. The following equations describe the kinematics of this mechanism:
    
where
     L = length of connecting rod
     R = radius of crank
     ω = constant angular velocity of crank
     X = distance from crankshaft center to wristpin of slider
     X′ = slider velocity
     X″ = slider acceleration
     θ = crank angle from dead center, +ve anticlockwise
     φ = angular position of connecting rod; φ=0 when θ=0
     φ′ = connecting rod angular velocity
     φ″ = connecting rod angular acceleration
All lengths are in the same units.
◊ Use link
EXAMPLE Of Input/Output
to demo data entry expectations and results; you may edit & use it as starting point