\( \definecolor{colordef}{RGB}{249,49,84} \definecolor{colorprop}{RGB}{18,102,241} \)
A photo printing shop charges \(\dollar\)0.50 per photo for the first 50 photos. For any order exceeding 50 photos, the remaining photos are charged at a discounted rate of \(\dollar\)0.30 per photo.
  1. Write a piecewise function \(P(n)\) for the total price of printing \(n\) photos.
  2. Calculate the price for printing 100 photos.

Capture an image of your work. AI teacher feedback takes approximately 10 seconds.