Redirecting to Castigliano's method