The document presents an inventory model for perishable items with time-dependent demand and partial backlogging. Two cases are discussed: 1) when shortages are not allowed and 2) when shortages are partially backlogged. In case 1, the inventory level decreases due to demand only. In case 2, shortages occur when inventory drops to zero and continue until the end of the cycle. The optimal order quantity is determined by minimizing total relevant inventory costs, which include ordering, holding, and shortage costs. Equations are developed to calculate inventory levels over time and determine the optimal order quantity under each case.