Sit up straight on a leg press machine with the balls of your feet placed near the lower edge of the leg press platform with the heels hanging off.
With your knees straight, press against the platform and straighten your ankles. In a controlled manner let your ankles bend, while keeping your knees straight.