I named that compound as cis and it should be trans. The I atoms are on opposite sides and that's trans, not cis.

To determine whether a compound is cis or trans, we need to understand the concept of cis-trans isomerism.

Cis and trans isomerism is commonly associated with organic compounds that have double bonds or ring structures. It describes the spatial arrangement of different substituents or groups around the double bond or within the ring.

In a cis isomer, the substituents or groups are located on the same side or face of the double bond or ring. In a trans isomer, the substituents or groups are located on opposite sides or faces of the double bond or ring.

Let's consider your specific case. You mentioned that you initially named the compound as cis but now realize that it should be trans. To determine whether it is cis or trans, you need to examine the arrangement of the substituents or groups around the molecule in question.

If you have identified that the iodine (I) atoms are on opposite sides or faces of the compound, then the correct designation would indeed be trans. This indicates that the substituents are positioned on different sides of the double bond or ring.

Remember, when assigning cis or trans, it is important to consider the relative positions of the substituents with respect to each other, rather than their absolute positions in space.

If you are uncertain about the arrangement of substituents, you can utilize a molecular visualization software or draw the molecule on paper to visualize its structure. This allows you to identify the specific locations of the substituents and determine whether the compound is cis or trans.