If a convex function exists $f:\mathbb R\to \mathbb R$ and satisfies $f(10) = -4$ and $f(20) = 30$, how should I find the smallest value for $f(7)$?
I have tried finding the linear equations between the two points $f(10)$, $f(20)$ and just input $f(7)$ to get a value since all linear functions are convex/concave. But I am unsure the value I calculated (which is $-71/5$) is the smallest value possible.