Can you check if these are metaphorical definitions.

1. Friendship is a electric magnet.
2. Cooperation is a huge smile.
3. Determination is proudly hitting a home run.
4. Happiness is going sailing in a new boat.

3 answers

Yes, but "electromagnet" is more correct that "electric magnet". I would also not equate deetermination to being "proud". It takes determination and a lot of hard work to be able to hit home runs.
Yes. Those are great metaphorical definitions.
All are good, as Drwls and Ms. Sue have said. In the first one, though, be sure to use "an" instead of "a" before a word that starts with a vowel:

Friendship is an electric magnet.

=)