coworking hours calculator

a time to complete this work:hours/day
b time to complete this work: hours/day
the time it takes for a and b to complete the work together hours/day

formula:

shared working hours = 1 / ((1 / a) + (1 / b))

a -> time to complete this work, b -> time to complete this work