Calculate Duty Cycle From Frequency