Challenge: Solving the Optimisation Problem
Swipe to start coding
Let's consider a physics-related optimization problem where we need to find the maximum height reached by an object thrown vertically upward with a given initial velocity.
We have the following equation:
h = v * t - 0.5 * g * t**2
that describes the motion of an object.
Our task is to find the time t
when the object reaches its maximum height and then find the maximum height h_max
.
- Calculate the derivatives of the first and second order for the
h
function. - Find critical points of
h
function. - Check if these critical points are points of the maximum of the function
h
.
Solución
¡Gracias por tus comentarios!
single
Pregunte a AI
Pregunte a AI
Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla
Resumir este capítulo
Explicar el código en file
Explicar por qué file no resuelve la tarea
Awesome!
Completion rate improved to 4.76
Challenge: Solving the Optimisation Problem
Desliza para mostrar el menú
Swipe to start coding
Let's consider a physics-related optimization problem where we need to find the maximum height reached by an object thrown vertically upward with a given initial velocity.
We have the following equation:
h = v * t - 0.5 * g * t**2
that describes the motion of an object.
Our task is to find the time t
when the object reaches its maximum height and then find the maximum height h_max
.
- Calculate the derivatives of the first and second order for the
h
function. - Find critical points of
h
function. - Check if these critical points are points of the maximum of the function
h
.
Solución
¡Gracias por tus comentarios!
Awesome!
Completion rate improved to 4.76single