1. Safe Bunking Condition (P ≥ P_target):
Bunks = ⌊(Attended × 100 / P_target) - Total⌋
The exact number of consecutive upcoming classes you can miss without dropping below your minimum target.
2. Recovery Requirement (P < P_target):
Needed = ⌈(P_target × Total - 100 × Attended) / (100 - P_target)⌉
The minimum consecutive future lectures you MUST attend to climb back to target eligibility.
3. Semester Projection Formula:
Max_Final_P = (Attended + Rem_Classes) / Sem_Total × 100