How To Calculate Duty Cycle Of A Signal