Two metals P and Q are heated through the same temperature difference. If the ratio…