You own an antique that is currently worth 1500, and whose value increases linearly at a rate of 175 per year. If the prevailing interest rate remains constant at 5%, per year compounded continuously, when will it be most advantageous for you to sell the antique and invest the proceeds?
Is there some rule of thumb for setting up an equation for word problems or is there an actual formula to this?
Suppose you sell the antique at the unknown time $t_s$. Then it is worth $1500+175t_s$. Then at the given time $t_f \geq t_s$, you will have $(1500+175t_s)e^{0.05(t_f-t_s)}$ in investment value. So you want to maximize $(1500+175t_s)e^{0.05(t_f-t_s)}$ over $t_s \in [0,t_f]$. This can be done with calculus. Notably, if the optimal choice of $t_s$ is $t_f$, then you don't sell the antique at all.
As an interesting aside, we can recast this as a (simple) control theory problem, by posing it as:
Maximize $V(t_f)$ over choices of $t_s$, where $V'(t)=0.05V(t)u(t-t_s)+175(1-u(t-t_s))$. Here $u(t)=\begin{cases} 1 & t \geq 0 \\ 0 & t < 0 \end{cases}$.