# Neural Network - single layer perceptron for multiple classes

For activation function in neural network, I have used the function $$\frac{1}{2}(\sin x +1) \enspace .$$ But this will give me the value of either 1 or 0, allowing me to classify only 2 classes. What if I want to classify more than 2 clusters of data, then what activation function should I use?