Text this: Characteristic polynomial of power graph for dihedral groups using degree-based matrices