avalanche photodiode formula

pin photodiode formula 1
avalanche diode structure