Immunization for General CF

I understand the concept and the example in the book, however, is there a generic ormula? What if you don’t get the money for two years and you have a 3 yr horizon?