private static XYDataset createDataset()
	{
		XYSeries n = new XYSeries("n");
		XYSeries lg = new XYSeries(
				"lg(n)");
		XYSeries square = new XYSeries("n^2");
		XYSeries sqrt = new XYSeries("sqrt");
		XYSeries power = new XYSeries("n^n");
		XYSeries exp = new XYSeries("e^n");

		for (int k = 1; k <= 10; k++)
		{
			n.add(k, k);
			lg.add(k, Math.log(k)/Math.log(2));
			square.add(k, k*k);
			sqrt.add(k, Math.sqrt(k));
			double p = k;
			for(int i = 0; i < k; i++)
				p*=k;
			power.add(k, p);
			exp.add(k, Math.exp(k));
		}
		XYSeriesCollection dataset = new XYSeriesCollection();
		//dataset.addSeries(n);
		//dataset.addSeries(lg);
		//dataset.addSeries(square);
		//dataset.addSeries(sqrt);
		//dataset.addSeries(power);
		dataset.addSeries(exp);
		return dataset;
	}