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
hfunction. - Find critical points of
hfunction. - Check if these critical points are points of the maximum of the function
h.
Soluzione
Grazie per i tuoi commenti!
single
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione
Riassuma questo capitolo
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 4.76
Challenge: Solving the Optimisation Problem
Scorri per mostrare il menu
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
hfunction. - Find critical points of
hfunction. - Check if these critical points are points of the maximum of the function
h.
Soluzione
Grazie per i tuoi commenti!
single