Elevana
Karka LMS
Gani
GANI
🏋️

Optimization

· Exercises

🏋️ Practice Exercises

1
Easy

Minimum of f(x) = x² + 4:

💡 x² ≥ 0; minimum when x = 0.

2
Medium

Find x that minimises f(x) = (x − 5)²

💡 Vertex of parabola.

3
Hard

Gradient descent on f(x) = x² with learning rate 0.1, start x = 5. Value after 1 step?

💡 x ← x − α·∇f. ∇f = 2x.