Hot answers tagged homework
As the asker already found out: No this is not simply the answer. $S_T$ is not known at the moment of investment so the future profit is a function of the stochast $S_T$. A graph is a useful tool to gain insight into the amount of profit for each realized value of $S_T$.
Only top voted, non community-wiki answers of a minimum length are eligible