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
.
Solution
Thanks for your feedback!
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Summarize this chapter
Explain the code in file
Explain why file doesn't solve the task
Awesome!
Completion rate improved to 4.76
Challenge: Solving the Optimisation Problem
Swipe to show 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
h
function. - Find critical points of
h
function. - Check if these critical points are points of the maximum of the function
h
.
Solution
Thanks for your feedback!
single