Thus, we have that our Net Present value P(t) is equal to the discounted value of Martian Eggs less the total discounted value of the stream of storage costs. From this information we can maximize the net present value in order to find out at what point t the seller would maximize profits. To do this, we'll begin by taking derivatives. Rearranging equation 4 and taking the first order condition we have: