There are several ways on how to determine Optocoupler operation. The old school method is to build an actual circuit

Your Online Teacher
There are several ways on how to determine Optocoupler operation. The old school method is to build an actual circuit