whats the formula:

tetraamminedinitratocobalt(III) bromide

and sodium diamminetetrachloroplatinate(IV)

Co(NH3)4(NO3)2Br

The formula for tetraamminedinitratocobalt(III) bromide is [Co(NH3)4(NO2)2]Br.

To determine the formula, we need to understand the coordination complex formed between cobalt(III), ammonia, nitrate, and bromide ions.

The complex starts with a central cobalt(III) ion (Co3+). It is coordinated with four ammonia molecules (NH3). Each ammonia molecule contributes one nitrogen atom, resulting in a total of four nitrogen atoms surrounding cobalt.

The complex also contains two nitrate ions (NO3-), each contributing one oxygen atom. These nitrate ions are negatively charged and will form a bond with the positively charged cobalt(III) ion.

Lastly, there is a bromide ion (Br-) which is negatively charged and forms an ionic bond with the positively charged complex.

Putting it all together, we have:
- Cobalt(III) ion: Co3+
- Ammonia: NH3 (four ammonia molecules)
- Nitrate: NO3- (two nitrate ions)
- Bromide: Br-

Combining these components, we get the formula [Co(NH3)4(NO2)2]Br.