I have to make an application for my probability&statistics class and I was thinking of using Java making Java applet more precisely to do this.
I need to plot a specific probabilty function and calculate the certain probabylity in specific intervals, thats not the problem.

I would appreciate if you could give me some reference how to do this.

Once again the main issuse is how to plot(draw) a given function.