Part A: The sentence that includes a participial phrase is: Shivering from the cold, the dog curled up by the fire.
Part B: In this sentence, the participial phrase "Shivering from the cold" functions as an adjective because it describes the noun "dog."