Lagrangian of three-mass system with Mathematica

Based on the Lagrangian of a mechanical system, we can obtain a system of equations of motion. These equations can be explored numerically using the NDSolve command. They include both the design parameters of the mechanism (overall dimensions, etc.) and the moments of inertia calculated on their basis, etc.

Is it possible, in the process of using the NDSolve command, to find the optimal values of the parameters of the mechanical system according to the selected criterion (for example, the minimum moments of inertia, maximum torques, etc.?).

  • 1
    $\begingroup$ Probably yes. Look for ParametricNDSolve and optimize this parameter dependent solution $\endgroup$ Jul 27, 2021 at 9:00
  • $\begingroup$ @UlrichNeumann Can this be done even if there are several parameters? $\endgroup$
    – dtn
    Jul 28, 2021 at 7:27
  • 1
    $\begingroup$ Yes that's possible. It appears to be an interesting problem. Why didn't you provide a minimal working example to get more helpful hints?? $\endgroup$ Jul 28, 2021 at 7:33
  • $\begingroup$ @UlrichNeumann I will supplement the question with new information. In the meantime, I'm working on it. $\endgroup$
    – dtn
    Jul 28, 2021 at 7:36


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.