Here is an interactive calculator for trimming a dipole antenna. The user enters F1 and F2. The program calculates the amount to be trimmed or added for resonance. You will need Microsoft Excel to use it.