Hi
Well, it seems the problem is in Simbrain. I just fed the same data to JustNN and it produced the expected results. I attach graph with target data and output of two networks: with 2 and 5 neurons in hidden layer.
As I expected, the network with 5 neurons is able to approximate almost exact training data, while the network with 2 neurons is not able to do that exactly. Still, even in case of 2 neurons the shape of the function resembles the original, which I couldn't achieve with Simbrain.
Roy