how would you solve for R in the flatting scenario?