How do hydrofoils work - a deep dive into the physics