DP and Flow Relationship Formula