Source: https://f2school.com/wp-content/uploads/2020/01/diode3.pdf